W3C home > Mailing lists > Public > www-svg@w3.org > February 2012

Re: display:none and mixed SVG and HTML

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 3 Feb 2012 07:29:07 -0800
Message-ID: <CAAWBYDBZ6f2dS00xgd9LUBH8YXGEY9mtaKruOW8nM1sdVhDTGw@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-svg@w3.org
On Thu, Feb 2, 2012 at 7:24 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 2/2/12 10:02 AM, Tab Atkins Jr. wrote:
>>
>> The other alternative that's still CSS friendly is to define some
>> property that makes elements ignore display:none somehow and continue
>> to generate boxes and have rendering effects.  This property would be
>> set appropriately on svg|* in the UA stylesheet.
>
> Except would we really want to set it on root <svg> in an HTML document?
>
> And we wouldn't want to allow pages to set it on arbitrary content, I
> suspect...
>
> But apart from that, this sounds pretty equivalent to Brian's proposal.
>  Hence that proposal.

Sure, the root SVG doesn't need it.  Make the selector "svg svg|*", then.

I see no reason not to allow it on arbitrary content.  It would be
useful.  That's the whole reason I proposed it as a property.

~TJ
Received on Friday, 3 February 2012 15:29:54 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:50 GMT