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

Re: What exactly is the replacement for getDefaultComputedStyle?

From: Simon Pieters <simonp@opera.com>
Date: Thu, 04 Sep 2014 09:59:36 +0200
To: "www-style list" <www-style@w3.org>, "Boris Zbarsky" <bzbarsky@mit.edu>
Message-ID: <op.xlnkhmyridj3kv@simons-mbp>
On Wed, 03 Sep 2014 16:59:57 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 9/3/14, 1:46 AM, Simon Pieters wrote:
>> http://lists.w3.org/Archives/Public/www-style/2013Aug/0161.html
>> http://lists.w3.org/Archives/Public/www-style/2013Aug/0164.html
>> https://dvcs.w3.org/hg/csswg/rev/3b8ded576b8a
>
> I disagree on the use case situation, fwiw.
>
> Especially now that CSS has dropped the ability to declaratively say  
> "use the UA+user default style", at least having a way to  
> programmatically ask for that style would allow polyfilling...
>
>> Is there interest in implementing box:none to satisfy the use case?
>
> That's blocked on there being a stable spec on box:none, and then on  
> implementing the resulting complexity.  Said complexity is much higher,  
> at first glance, than that of getDefaultComputedStyle.

OK. Should I put back GetStyleUtils#defaultStyle ? Or do we want something  
more lightweight that only supports the 'display' property?

-- 
Simon Pieters
Opera Software
Received on Thursday, 4 September 2014 08:00:08 UTC

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