W3C home > Mailing lists > Public > www-style@w3.org > October 2012

Re: [cssom] Make CSSStyleSheet constructable

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 17 Oct 2012 20:36:51 -0400
Message-ID: <507F4F23.8070505@mit.edu>
To: www-style@w3.org
On 10/17/12 8:33 PM, Boris Zbarsky wrote:
> I'm not sure why.  Gecko already does such sharing on the style data of
> linked stylesheets.  It would be easy to extend it to inline stylesheets
> if needed.

One comment here, though: what Gecko actually does is a copy-on-access 
setup where sheets are shared as long as you don't touch their CSSOM. 
Once you do, the sharing stops, because at that point the sharing would 
be observable.

-Boris
Received on Thursday, 18 October 2012 00:37:19 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT