- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Thu, 09 Feb 2012 12:17:05 -0500
- To: www-svg@w3.org
On 2/9/12 11:46 AM, Stephen Chenney wrote: > Referencing the html style element is not helpful in answering these > questions, is its restriction to the document head avoids most of the > issues The restriction to <head> is an authoring requirement. HTML's UA requirements define processing of <style> no matter where it is found. 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... -Boris
Received on Thursday, 9 February 2012 17:17:34 UTC