W3C home > Mailing lists > Public > www-style@w3.org > April 2014

Re: [css-cascade][cssom] Used value of non-applying properties?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 15 Apr 2014 12:22:58 -0700
Message-ID: <CAAWBYDCOGSSn31B+vbR+TWNv38=O2kEDdyFEiHsgrBNkPTRHBw@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style list <www-style@w3.org>
On Mon, Apr 14, 2014 at 7:57 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 4/14/14 5:26 PM, Tab Atkins Jr. wrote:
>>
>> CSSOM currently defines that if the property applies to the element,
>> the resolved value is the used value; otherwise it's the computed
>> value.  This gets around the issue, and fits with what Cascade says.
>> However, only WebKit/Blink do this.  FF and IE appear to return the
>> layout'd size of the element for width/height, at least.
>
> Er...  Firefox definitely returns the computed value for .width on the
> computed style of a non-replaced inline (modulo some min-width/max-width
> interactions), and similar for height.
>
> It might help if you made it clear which exact cases you tested here and
> how.

Hm, I'll let zcorpan chime in here - he was telling me that testing
'width' on an inline returns the layouted width in Firefox.

~TJ
Received on Tuesday, 15 April 2014 19:23:46 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:39 UTC