Re: [css3-writing-modes] a third option for implementing logical properties

Logical properties were trivial to implement in WebKit.  I know that we risk introducing a large number of additional properties if we go this route, but the cost of implementing them and maintaining them is extremely low.  It took very few lines of code to add all of these logical properties to the WebKit engine.  The code to resolve them to physical properties is even shared.

I still think they're the best solution that has been proposed for producing a layout that can work in both the horizontal and vertical directions.  We would probably need to introduce logical properties for border-radius, and then decide what happens with overflow, border-spacing, and shadows, but that does cover pretty much everything.

dave
(hyatt@apple.com)

Received on Monday, 25 October 2010 01:06:15 UTC