[html5] r7825 - [e] (0) More elaboraton on <style scoped> requirements. Fixing https://www.w3.or [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Apr 12 16:18:51 PDT 2013


Author: ianh
Date: 2013-04-12 16:18:50 -0700 (Fri, 12 Apr 2013)
New Revision: 7825

Modified:
   complete.html
   index
   source
Log:
[e] (0) More elaboraton on <style scoped> requirements.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20638
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-04-12 23:10:51 UTC (rev 7824)
+++ complete.html	2013-04-12 23:18:50 UTC (rev 7825)
@@ -13821,6 +13821,9 @@
   and that such elements cannot be children of, e.g., <code><a href=#the-a-element>a</a></code> or <code><a href=#the-ins-element>ins</a></code> elements,
   even when those are used as <a href=#flow-content>flow content</a> containers.</p>
 
+  <p class=note>A <code><a href=#the-style-element>style</a></code> element <em>without</em> a <code title=attr-style-scoped><a href=#attr-style-scoped>scoped</a></code> attribute is restricted to appearing in the
+  <code><a href=#the-head-element>head</a></code> of the document.</p>
+
   <div class=impl>
 
   <p>If the <code title=attr-style-scoped><a href=#attr-style-scoped>scoped</a></code> attribute is present, then the user agent

Modified: index
===================================================================
--- index	2013-04-12 23:10:51 UTC (rev 7824)
+++ index	2013-04-12 23:18:50 UTC (rev 7825)
@@ -13821,6 +13821,9 @@
   and that such elements cannot be children of, e.g., <code><a href=#the-a-element>a</a></code> or <code><a href=#the-ins-element>ins</a></code> elements,
   even when those are used as <a href=#flow-content>flow content</a> containers.</p>
 
+  <p class=note>A <code><a href=#the-style-element>style</a></code> element <em>without</em> a <code title=attr-style-scoped><a href=#attr-style-scoped>scoped</a></code> attribute is restricted to appearing in the
+  <code><a href=#the-head-element>head</a></code> of the document.</p>
+
   <div class=impl>
 
   <p>If the <code title=attr-style-scoped><a href=#attr-style-scoped>scoped</a></code> attribute is present, then the user agent

Modified: source
===================================================================
--- source	2013-04-12 23:10:51 UTC (rev 7824)
+++ source	2013-04-12 23:18:50 UTC (rev 7825)
@@ -14262,6 +14262,10 @@
   and that such elements cannot be children of, e.g., <code>a</code> or <code>ins</code> elements,
   even when those are used as <span>flow content</span> containers.</p>
 
+  <p class="note">A <code>style</code> element <em>without</em> a <code
+  title="attr-style-scoped">scoped</code> attribute is restricted to appearing in the
+  <code>head</code> of the document.</p>
+
   <div class="impl">
 
   <p>If the <code title="attr-style-scoped">scoped</code> attribute is present, then the user agent




More information about the Commit-Watchers mailing list