[webkit-dev] Ruby Text Enhancements

Yasuo Kida kida at apple.com
Tue Sep 28 10:20:59 PDT 2010


On 2010/09/28, at 10:11, David Hyatt wrote:
> On Sep 27, 2010, at 3:40 PM, Eric Mader wrote:
>> Are you saying that subclassing computeLogicalWidth() would still mean that I'm computing the margins at the initial calculation time?
> 
> You'd be computing them whenever the ruby run's layout changed.  The problem with that is if you're setting margins based off surrounding content, you're not going to get a layout just because your surroundings changed.

Probably a novice question but are there mechanisms or ways to trigger re-computing of the ruby's layout when the surrounding text has changed?

- kida



More information about the webkit-dev mailing list