Re: What exactly is the replacement for getDefaultComputedStyle?

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