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

Re: Style elements in SVG content

From: Cameron McCormack <cam@mcc.id.au>
Date: Sun, 12 Feb 2012 17:44:55 +1100
Message-ID: <4F375FE7.4070002@mcc.id.au>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: www-svg@w3.org, schenney@chromium.org
Boris Zbarsky:
> To answer your questions, for the HTML <style> element:
>
> 1) All style elements are global.
> 2) Stylesheets from such elements come in document order in the
> cascade.
> 3) The CSS cascade handles everything else.
>
> SVG could in fact adopt these rules, as well as the "scoped" attribute
> for scoping if desired...

Yep, we recently agreed to do this for SVG2:

http://www.w3.org/Graphics/SVG/WG/wiki/SVG2_Requirements_Input#Add_HTML5_style-element_attributes_to_SVG.27s_style_element
Received on Sunday, 12 February 2012 06:45:32 GMT

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