W3C home > Mailing lists > Public > www-style@w3.org > October 2010

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

From: David Hyatt <hyatt@apple.com>
Date: Thu, 21 Oct 2010 15:12:08 -0500
Cc: www-style@w3.org
Message-id: <5939790F-AB55-45F7-9742-36FC8DB51CC6@apple.com>
To: "L. David Baron" <dbaron@dbaron.org>
On Oct 21, 2010, at 3:06 PM, L. David Baron wrote:

> On Thursday 2010-10-21 15:00 -0500, David Hyatt wrote:
>> Can you explain this further?  I don't really understand what
>> you're suggesting.  Examples would help.
>> 
>> In WebKit, which implements all of the logical properties, we just
>> resolve direction and writing-mode first (similar to what
>> implementations have to do for font), and then we map the logical
>> property to a physical property.  This is all very simple and
>> takes very little code.  Is there some problem with this approach
>> that I'm missing?
> 
> If you maintain declaration order within your declaration storage,
> and use that declaration order when you're cascading, then it's not
> an issue.
> 

I see.  We do maintain the declaration order in WebKit and use it when we cascade.  It seems desirable to maintain the order for stylesheet serialization.

dave
(hyatt@apple.com)
Received on Thursday, 21 October 2010 20:12:47 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:33 GMT