Re: [css-cascade-3] Potentially missing definitions and use case for reincluding "default value"

On 08/12/2013 01:35 AM, Simon Pieters wrote:
> On Sat, 10 Aug 2013 17:01:10 +0200, Mike Sherov <mike.sherov@gmail.com> wrote:
>
>> Yeah, I suppose at the moment I really only have a use case for
>> "default value" for "display". My concern here was only isn't that
>> we're special case fixing the display problem. It might be YAGNI, but
>> default value, while difficult, provides a general answer and low
>> level solution to that type of problem.
>
> So we added defaultStyle to CSSOM because of the above-mentioned iframe hack in jQuery.
>
> http://lists.w3.org/Archives/Public/www-style/2013Apr/0568.html
>
> If toggling 'display' is the only use case, and 'box:none' addresses
> that use case better than .defaultStyle, should we drop .defaultStyle
> from CSSOM?

If there's no other use case, then, yes, I think so. It's not exactly
a trivial feature. But I suppose you could flag an issue first for a
bit, asking for use cases.

~fantasai

Received on Monday, 12 August 2013 19:19:26 UTC