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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 14 Apr 2014 22:57:54 -0400
Message-ID: <534CA032.5000303@mit.edu>
To: www-style@w3.org
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.

-Boris
Received on Tuesday, 15 April 2014 02:58:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:21 UTC