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

Re: New values for Float property

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 4 Dec 2009 08:33:28 -0600
Message-ID: <dd0fbad0912040633h15a999caxc3d07a4731d41fac@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: Patrick Garies <pgaries@fastmail.us>, www-style <www-style@w3.org>
On Fri, Dec 4, 2009 at 8:26 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> 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.

Ah, I had wondered why Firebug always showed me so much crap on things
with borders being set.  Thanks for the detail, Boris!

Received on Friday, 4 December 2009 14:33:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:30 UTC