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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 31 Jan 2013 18:31:51 -0800
Message-ID: <CAAWBYDBEBNJrcFQj947+m81+q2u_KThiVG49JhVE4BMQk-i89Q@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style list <www-style@w3.org>
On Thu, Jan 31, 2013 at 6:27 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 1/31/13 9:24 PM, Boris Zbarsky wrote:
>> On 1/31/13 9:22 PM, Tab Atkins Jr. wrote:
>>> If we ever want to do stuff like the CSSOM Values API that allow for
>>> translating between units, we'll need this kind of thing anyway.
>>
>> What kind of thing, exactly?
>
> Oh, used values?
>
> Why does translating between units need those, except for a very small set
> of properties?

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.

~TJ
Received on Friday, 1 February 2013 02:32:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:05 GMT