W3C home > Mailing lists > Public > www-style@w3.org > February 2013

Re: [cssom] Proposal for obtaining robust style information via Javascript - getStyle()

From: Mike Sherov <mike.sherov@gmail.com>
Date: Thu, 31 Jan 2013 21:51:57 -0500
Message-ID: <CAD1Dv_J12NeEnHBgy1qJ4pv9X1wYB1AO+xgrjhdFcHu-O_F4bg@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
On Thu, Jan 31, 2013 at 9:37 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 1/31/13 9:31 PM, Tab Atkins Jr. wrote:
>> There are a lot of properties with values that don't become px until
>> used-value time, for example.  This covers most properties with
>> percentages, a number of properties with 'auto', and a smattering of
>> other types of values.
> Ah, I see.  Hmmm....
> That of course raises the fun questions of what used values should return
> on nodes that have no boxes, or are not even in the document tree...

Exactly. "Fun". Used value, from my naive understanding (and someone please
correct me) is currently flimsily defined as "The used value is the result
of taking the computed value and resolving any remaining dependencies into
an absolute value." [1]

> -Boris
[1] http://www.w3.org/TR/CSS2/cascade.html#used-value

Mike Sherov
Lead Developer
SNAP Interactive, Inc.
Ticker: STVI.OB
Received on Friday, 1 February 2013 02:52:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:26 UTC