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

Re: display:none and mixed SVG and HTML

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 02 Feb 2012 09:11:41 -0500
Message-ID: <4F2A999D.2070400@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-svg@w3.org
On 2/2/12 8:30 AM, Tab Atkins Jr. wrote:
> No, CSS does *not* require that no boxes are generated in these cases.

Actually, it does, as thing stand.

>   Strictly, it requires that counters don't set/reset/increment, quotes
> don't start/end nesting, transitions don't start, and animations don't
> run.  This can be accomplished by not generating boxes, but also just
> by explicitly shutting those properties down.

CSS has no provisions for this.  If there are boxes, then the counters 
and quotes are affected.  Think trivial case of a foreignObject inside a 
paint server; if you generate boxes for the HTML in that foreignObject, 
how exactly do you not allow them to increment counters if they have 
counter styles?

Again, there are various ways this could be defined, but please don't 
pretend that there is no problem.  There is one, and it needs changes to 
CSS or SVG or both to resolve.

-Boris
Received on Thursday, 2 February 2012 14:12:09 GMT

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