W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Re: [css3-values][css3-images] element() function

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 31 Aug 2010 14:08:23 -0400
Message-ID: <4C7D4517.7090608@mit.edu>
To: Simon Fraser <smfr@me.com>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
On 8/31/10 1:57 PM, Simon Fraser wrote:
> One useful use case I see missing with element() is the ability to reference an element in a display: none subtree, so you can, for example, have some nodes in the<head>  that you use to draw HTML content into a<canvas>  or CSS background or WebGL.

That's a general limitation with Gecko: such elements don't have any 
associated layout or event style.

It prevents us from having SVG <defs> in display:none subtrees too...

-Boris
Received on Tuesday, 31 August 2010 18:08:58 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:30 GMT