[html5] r2099 - [c] (0) Try to make <style scoped> content model rules clearer. (credit: hs)

whatwg at whatwg.org whatwg at whatwg.org
Thu Aug 21 16:28:34 PDT 2008


Author: ianh
Date: 2008-08-21 16:28:32 -0700 (Thu, 21 Aug 2008)
New Revision: 2099

Modified:
   index
   source
Log:
[c] (0) Try to make <style scoped> content model rules clearer. (credit: hs)

Modified: index
===================================================================
--- index	2008-08-21 10:26:20 UTC (rev 2098)
+++ index	2008-08-21 23:28:32 UTC (rev 2099)
@@ -10757,9 +10757,9 @@
 
    <dd>If the <code title=attr-style-scoped><a
     href="#scoped">scoped</a></code> attribute is present: where <a
-    href="#flow-content0">flow content</a> is expected, but before any
-    sibling elements other than <code><a href="#style1">style</a></code>
-    elements and before any text nodes other than <a
+    href="#flow-content0">flow content</a> is expected, but before any other
+    <a href="#flow-content0">flow content</a> other than other <code><a
+    href="#style1">style</a></code> elements and <a
     href="#inter-element">inter-element whitespace</a>.
 
    <dt>Content model:

Modified: source
===================================================================
--- source	2008-08-21 10:26:20 UTC (rev 2098)
+++ source	2008-08-21 23:28:32 UTC (rev 2099)
@@ -8697,7 +8697,7 @@
    <dt>Contexts in which this element may be used:</dt>
    <dd>If the <code title="attr-style-scoped">scoped</code> attribute is absent: where <span>metadata content</span> is expected.</dd>
    <dd>If the <code title="attr-style-scoped">scoped</code> attribute is absent: in a <code>noscript</code> element that is a child of a <code>head</code> element.</dd>
-   <dd>If the <code title="attr-style-scoped">scoped</code> attribute is present: where <span>flow content</span> is expected, but before any sibling elements other than <code>style</code> elements and before any text nodes other than <span>inter-element whitespace</span>.</dd>
+   <dd>If the <code title="attr-style-scoped">scoped</code> attribute is present: where <span>flow content</span> is expected, but before any other <span>flow content</span> other than other <code>style</code> elements and <span>inter-element whitespace</span>.</dd>
    <dt>Content model:</dt>
    <dd>Depends on the value of the <code title="attr-style-type">type</code> attribute.</dd>
    <dt>Element-specific attributes:</dt>




More information about the Commit-Watchers mailing list