W3C home > Mailing lists > Public > www-style@w3.org > December 2009

Re: New values for Float property

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 04 Dec 2009 09:26:26 -0500
Message-ID: <4B191C12.6020106@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Patrick Garies <pgaries@fastmail.us>, www-style <www-style@w3.org>
On 12/4/09 9:16 AM, Tab Atkins Jr. wrote:
> So basically *-start and *-end are treated as context-dependent
> aliases for *-left and *-right?

Effectively, yes.

-Boris

P.S. More precisely, each of the properties is actually treated as a 
shorthand: *-left sets *-left-value to the value and *-left-ltr-source 
and *-left-rtl-source to "physical".  *-start sets *-start-value to the 
value and *-left-ltr-source and *-right-rtl-source to "logical". 
Similar for right/end.

Then at style computation time, you examine your "direction" value, look 
at the corresponding *-source value, and use either the physical or 
logical value depending on what the *-source says.

This is an implementation detail, I think; it's needed internally so 
that we can base computed style information purely on "the specified 
values of all properties" without reference to relative specificity of 
*-start/end and *-left/right; that means having properties (the *-source 
properties) whose specified value effectively encodes said relative 
specificity.
Received on Friday, 4 December 2009 14:27:10 GMT

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