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

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

From: Simon Pieters <simonp@opera.com>
Date: Tue, 22 Apr 2014 11:19:54 +0200
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: "Boris Zbarsky" <bzbarsky@mit.edu>, "www-style list" <www-style@w3.org>
Message-ID: <op.xepn7gsmidj3kv@simons-mbp>
On Thu, 17 Apr 2014 19:57:54 +0200, Tab Atkins Jr. <jackalmage@gmail.com>  
wrote:

> So it sounds like we're good, then?  Browsers seem to apply the CSSOM
> rules, which prevents you from seeing the used value of properties
> that don't apply, so there's no inconsistency with the Cascade
> sentence?

Yeah.

> (We'd still need to define something for .usedStyle, but I'm happy for
> that to be the computed value for things that don't apply.)

Right. Or it could return null instead when there's no used style.

-- 
Simon Pieters
Opera Software
Received on Tuesday, 22 April 2014 09:20:29 UTC

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