[html5] r8843 - [e] (0) Update the way some of the selectors are written to use more modern sele [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Oct 28 11:39:48 PDT 2014


Author: ianh
Date: 2014-10-28 11:39:44 -0700 (Tue, 28 Oct 2014)
New Revision: 8843

Modified:
   complete.html
   index
   source
Log:
[e] (0) Update the way some of the selectors are written to use more modern selector features.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=27019
Affected topics: Offline Web Applications, Rendering

Modified: complete.html
===================================================================
--- complete.html	2014-10-28 18:20:29 UTC (rev 8842)
+++ complete.html	2014-10-28 18:39:44 UTC (rev 8843)
@@ -62458,7 +62458,7 @@
   
 
 
-  <h4 id=navigator.online>7.7.11 Browser state</h4>
+  <h4 id=navigator.online>7.7.11 <span id=browser-state>Browser state</span></h4><div class=status><input onclick=toggleStatus(this) value=⋰ type=button><p class=support><strong>Support:</strong> <span class="chrome yes"><span>Chrome</span> <span>14+</span></span><span class="ie yes"><span>IE</span> <span>9+</span></span><span class="firefox partial"><span><span>Firefox</span> (limited) </span><span>4+</span></span><span class="and_chr yes"><span>Chrome for Android</span> <span>38+</span></span><span class="ios_saf yes"><span>iOS Safari</span> <span>4.2-4.3+</span></span><span class="android yes"><span>Android Browser</span> <span>2.3+</span></span><span class="op_mini no"><span>Opera Mini</span> <span>None</span></span><span class="and_uc partial"><span><span>UC Browser for Android</span> (limited) </span><span>9.9+</span></span><span class="safari yes"><span>Safari</span> <span>5+</span></span><span class="opera yes"><span>Opera</span> <span>15+</span></span><span class=
 "ie_mob yes"><span>IE Mobile</span> <span>10+</span></span><span class="and_ff yes"><span>Firefox for Android</span> <span>32+</span></span><p class=caniuse>Source: <a href="http://caniuse.com/#feat=online-status">caniuse.com</a></div>
 
   <pre class=idl>[NoInterfaceObject, Exposed=(Window,Worker)]
 interface <dfn id=navigatoronline>NavigatorOnLine</dfn> {
@@ -77819,17 +77819,15 @@
   display: none;
 }
 
-embed[hidden] { display: inline; height: 0; width: 0; }</pre> 
+embed[hidden] { display: inline; height: 0; width: 0; } 
 
+input[type=hidden i] { display none ! important; }</pre>
+
   <p>The user agent is expected to force the 'display' property of <code id=hidden-elements:the-noscript-element><a href=#the-noscript-element>noscript</a></code> elements
   for whom <a href=#concept-n-script id=hidden-elements:concept-n-script>scripting is enabled</a> to compute to 'none',
   irrespective of CSS rules.</p>
 
-  <p>The user agent is expected to force the 'display' property of <code id=hidden-elements:the-input-element><a href=#the-input-element>input</a></code> elements whose
-  <code id=hidden-elements:attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#hidden-state-(type=hidden)" id="hidden-elements:hidden-state-(type=hidden)">Hidden</a> state to compute to 'none', irrespective of CSS
-  rules.</p>
 
-
   <h4 id=the-page>14.3.2 The page</h4>
 
   <pre class=css>@namespace url(http://www.w3.org/1999/xhtml);
@@ -78405,12 +78403,8 @@
 h5 { margin-top: 1.67em; margin-bottom: 1.67em; font-size: 0.83em; font-weight: bold; }
 h6 { margin-top: 2.33em; margin-bottom: 2.33em; font-size: 0.67em; font-weight: bold; }</pre>
 
-  <p>The <code id=sections-and-headings:the-article-element><a href=#the-article-element>article</a></code>, <code id=sections-and-headings:the-aside-element><a href=#the-aside-element>aside</a></code>, <code id=sections-and-headings:the-nav-element><a href=#the-nav-element>nav</a></code>, and <code id=sections-and-headings:the-section-element><a href=#the-section-element>section</a></code>
-  elements are expected to affect the margins and font size of <code id=sections-and-headings:the-h1,-h2,-h3,-h4,-h5,-and-h6-elements><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> elements, as well as
-  <code id=sections-and-headings:the-h1,-h2,-h3,-h4,-h5,-and-h6-elements-2><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h2</a></code>–<code id=sections-and-headings:the-h1,-h2,-h3,-h4,-h5,-and-h6-elements-3><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h5</a></code> elements that follow <code id=sections-and-headings:the-h1,-h2,-h3,-h4,-h5,-and-h6-elements-4><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> elements in
-  <code id=sections-and-headings:the-hgroup-element><a href=#the-hgroup-element>hgroup</a></code> elements, based on the nesting depth. If <var>x</var> is a selector
-  that matches elements that are either <code id=sections-and-headings:the-article-element-2><a href=#the-article-element>article</a></code>, <code id=sections-and-headings:the-aside-element-2><a href=#the-aside-element>aside</a></code>, <code id=sections-and-headings:the-nav-element-2><a href=#the-nav-element>nav</a></code>,
-  or <code id=sections-and-headings:the-section-element-2><a href=#the-section-element>section</a></code> elements, then the following rules capture what is expected:</p>
+  <p>In the following CSS block, <var>x</var> is shorthand for the following selector:
+  <code>:matches(article, aside, nav, section)</code></p>
 
   <pre class=css>@namespace url(http://www.w3.org/1999/xhtml);
 
@@ -78434,8 +78428,10 @@
 
 <var>x</var> hgroup > h1 ~ h5 { margin-top: 2.33em; margin-bottom: 2.33em; font-size: 0.67em; }</pre>
 
+  <p class=note>The shorthand is used to keep this block at least mildly readable.</p>
 
 
+
   <h4 id=lists>14.3.8 Lists</h4><div class=status><input onclick=toggleStatus(this) value=⋰ type=button><p class=bugs><strong>Spec bugs:</strong> <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=17770" title="i18n comment 20 : list item marker display and position">17770</a></div>
 
   <pre class=css>@namespace url(http://www.w3.org/1999/xhtml);
@@ -78445,11 +78441,7 @@
 
 dir, dl, menu, ol, ul { margin-top: 1em; margin-bottom: 1em; }
 
-dir dir, dir dl, dir menu, dir ol, dir ul,
-dl dir, dl dl, dl menu, dl ol, dl ul,
-menu dir, menu dl, menu menu, menu ol, menu ul,
-ol dir, ol dl, ol menu, ol ol, ol ul,
-ul dir, ul dl, ul menu, ul ol, ul ul {
+:matches(dir, dl, menu, ol, ul) :matches(dir, dl, menu, ol, ul) {
   margin-top: 0; margin-bottom: 0;
 }
 
@@ -78458,31 +78450,13 @@
 
 ol { list-style-type: decimal; }
 
-dir, menu, ul { list-style-type: disc; }
-
-dir dir, dir menu, dir ul,
-menu dir, menu menu, menu ul,
-ol dir, ol menu, ol ul,
-ul dir, ul menu, ul ul {
+dir, menu, ul {
+  list-style-type: disc;
+}
+:matches(dir, menu, ol, ul) :matches(dir, menu, ul) {
   list-style-type: circle;
 }
-
-dir dir dir, dir dir menu, dir dir ul,
-dir menu dir, dir menu menu, dir menu ul,
-dir ol dir, dir ol menu, dir ol ul,
-dir ul dir, dir ul menu, dir ul ul,
-menu dir dir, menu dir menu, menu dir ul,
-menu menu dir, menu menu menu, menu menu ul,
-menu ol dir, menu ol menu, menu ol ul,
-menu ul dir, menu ul menu, menu ul ul,
-ol dir dir, ol dir menu, ol dir ul,
-ol menu dir, ol menu menu, ol menu ul,
-ol ol dir, ol ol menu, ol ol ul,
-ol ul dir, ol ul menu, ol ul ul,
-ul dir dir, ul dir menu, ul dir ul,
-ul menu dir, ul menu menu, ul menu ul,
-ul ol dir, ul ol menu, ul ol ul,
-ul ul dir, ul ul menu, ul ul ul {
+:matches(dir, menu, ol, ul) :matches(dir, menu, ol, ul) :matches(dir menu ul) {
   list-style-type: square;
 }</pre>
 
@@ -78726,39 +78700,40 @@
   elements are expected to <a href=#rules-for-parsing-non-negative-integers id=tables-2:rules-for-parsing-non-negative-integers-3>provide</a> the
   <i>special knowledge</i> regarding cells spanning rows and columns.</p>
 
-  <p>In <a href=#html-documents id=tables-2:html-documents>HTML documents</a>, the user agent is expected to force the 'display' property of
-  <code id=tables-2:the-form-element><a href=#the-form-element>form</a></code> elements that are children of <code id=tables-2:the-table-element><a href=#the-table-element>table</a></code>, <code id=tables-2:the-thead-element><a href=#the-thead-element>thead</a></code>,
-  <code id=tables-2:the-tbody-element><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element><a href=#the-tfoot-element>tfoot</a></code>, or <code id=tables-2:the-tr-element><a href=#the-tr-element>tr</a></code> elements to compute to 'none',
-  irrespective of CSS rules.</p>
+  <p>In <a href=#html-documents id=tables-2:html-documents>HTML documents</a>, the following rules are also expected to apply:</p>
 
+  <pre class=css>@namespace url(http://www.w3.org/1999/xhtml);
+
+:matches(table, thead, tbody, tfoot, tr) > form {  display: none !important; }</pre>
+
   <hr>
 
-  <p>The <code id=tables-2:the-table-element-2><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-cellspacing><a href=#attr-table-cellspacing>cellspacing</a></code>
+  <p>The <code id=tables-2:the-table-element><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-cellspacing><a href=#attr-table-cellspacing>cellspacing</a></code>
   attribute <a href=#maps-to-the-pixel-length-property id=tables-2:maps-to-the-pixel-length-property>maps to the pixel length property</a> 'border-spacing' on the element.</p>
 
-  <p>The <code id=tables-2:the-table-element-3><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-cellpadding><a href=#attr-table-cellpadding>cellpadding</a></code>
+  <p>The <code id=tables-2:the-table-element-2><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-cellpadding><a href=#attr-table-cellpadding>cellpadding</a></code>
   attribute <a href=#maps-to-the-pixel-length-property id=tables-2:maps-to-the-pixel-length-property-2>maps to the pixel length
   properties</a> 'padding-top', 'padding-right', 'padding-bottom', and 'padding-left' of any
   <code id=tables-2:the-td-element-2><a href=#the-td-element>td</a></code> and <code id=tables-2:the-th-element-2><a href=#the-th-element>th</a></code> elements that have corresponding <a href=#concept-cell id=tables-2:concept-cell>cells</a> in the <a href=#concept-table id=tables-2:concept-table>table</a> corresponding to
-  the <code id=tables-2:the-table-element-4><a href=#the-table-element>table</a></code> element.</p>
+  the <code id=tables-2:the-table-element-3><a href=#the-table-element>table</a></code> element.</p>
 
-  <p>The <code id=tables-2:the-table-element-5><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-hspace><a href=#attr-table-hspace>hspace</a></code> attribute <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property>maps to the dimension properties</a> 'margin-left' and
-  'margin-right' on the <code id=tables-2:the-table-element-6><a href=#the-table-element>table</a></code> element.</p>
+  <p>The <code id=tables-2:the-table-element-4><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-hspace><a href=#attr-table-hspace>hspace</a></code> attribute <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property>maps to the dimension properties</a> 'margin-left' and
+  'margin-right' on the <code id=tables-2:the-table-element-5><a href=#the-table-element>table</a></code> element.</p>
 
-  <p>The <code id=tables-2:the-table-element-7><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-vspace><a href=#attr-table-vspace>vspace</a></code> attribute <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-2>maps to the dimension properties</a> 'margin-top' and
-  'margin-bottom' on the <code id=tables-2:the-table-element-8><a href=#the-table-element>table</a></code> element.</p>
+  <p>The <code id=tables-2:the-table-element-6><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-vspace><a href=#attr-table-vspace>vspace</a></code> attribute <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-2>maps to the dimension properties</a> 'margin-top' and
+  'margin-bottom' on the <code id=tables-2:the-table-element-7><a href=#the-table-element>table</a></code> element.</p>
 
-  <p>The <code id=tables-2:the-table-element-9><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-height><a href=#attr-table-height>height</a></code> attribute
-  <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-3>maps to the dimension property</a> 'height' on the <code id=tables-2:the-table-element-10><a href=#the-table-element>table</a></code> element.</p>
+  <p>The <code id=tables-2:the-table-element-8><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-height><a href=#attr-table-height>height</a></code> attribute
+  <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-3>maps to the dimension property</a> 'height' on the <code id=tables-2:the-table-element-9><a href=#the-table-element>table</a></code> element.</p>
 
-  <p>The <code id=tables-2:the-table-element-11><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-width><a href=#attr-table-width>width</a></code> attribute
-  <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-4>maps to the dimension property</a> 'width' on the <code id=tables-2:the-table-element-12><a href=#the-table-element>table</a></code> element.</p>
+  <p>The <code id=tables-2:the-table-element-10><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-width><a href=#attr-table-width>width</a></code> attribute
+  <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-4>maps to the dimension property</a> 'width' on the <code id=tables-2:the-table-element-11><a href=#the-table-element>table</a></code> element.</p>
 
   <p>The <code id=tables-2:the-col-element-3><a href=#the-col-element>col</a></code> element's <code id=tables-2:attr-col-width><a href=#attr-col-width>width</a></code> attribute <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-5>maps
   to the dimension property</a> 'width' on the <code id=tables-2:the-col-element-4><a href=#the-col-element>col</a></code> element.</p>
 
-  <p>The <code id=tables-2:the-tr-element-2><a href=#the-tr-element>tr</a></code> element's <code id=tables-2:attr-tr-height><a href=#attr-tr-height>height</a></code> attribute <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-6>maps
-  to the dimension property</a> 'height' on the <code id=tables-2:the-tr-element-3><a href=#the-tr-element>tr</a></code> element.</p>
+  <p>The <code id=tables-2:the-tr-element><a href=#the-tr-element>tr</a></code> element's <code id=tables-2:attr-tr-height><a href=#attr-tr-height>height</a></code> attribute <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-6>maps
+  to the dimension property</a> 'height' on the <code id=tables-2:the-tr-element-2><a href=#the-tr-element>tr</a></code> element.</p>
 
   <p>The <code id=tables-2:the-td-element-3><a href=#the-td-element>td</a></code> and <code id=tables-2:the-th-element-3><a href=#the-th-element>th</a></code> elements' <code id=tables-2:attr-tdth-height><a href=#attr-tdth-height>height</a></code>
   attributes <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-7>map to the dimension property</a>
@@ -78770,25 +78745,25 @@
 
   <hr>
 
-  <p>The <code id=tables-2:the-caption-element><a href=#the-caption-element>caption</a></code> element unless specified otherwise below, and the <code id=tables-2:the-thead-element-2><a href=#the-thead-element>thead</a></code>,
-  <code id=tables-2:the-tbody-element-2><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-2><a href=#the-tfoot-element>tfoot</a></code>, <code id=tables-2:the-tr-element-4><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-5><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-5><a href=#the-th-element>th</a></code>
+  <p>The <code id=tables-2:the-caption-element><a href=#the-caption-element>caption</a></code> element unless specified otherwise below, and the <code id=tables-2:the-thead-element><a href=#the-thead-element>thead</a></code>,
+  <code id=tables-2:the-tbody-element><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element><a href=#the-tfoot-element>tfoot</a></code>, <code id=tables-2:the-tr-element-3><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-5><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-5><a href=#the-th-element>th</a></code>
   elements when they have an <code>align</code> attribute whose value is an <a href=#ascii-case-insensitive id=tables-2:ascii-case-insensitive>ASCII
   case-insensitive</a> match for either the string "<code>center</code>" or the string
   "<code>middle</code>", are expected to center text within themselves, as if they had
   their 'text-align' property set to 'center' in a <a href=#presentational-hints id=tables-2:presentational-hints-2>presentational hint</a>, and to <a href=#align-descendants id=tables-2:align-descendants>align descendants</a> to the center.</p>
 
-  <p>The <code id=tables-2:the-caption-element-2><a href=#the-caption-element>caption</a></code>, <code id=tables-2:the-thead-element-3><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-3><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-3><a href=#the-tfoot-element>tfoot</a></code>,
-  <code id=tables-2:the-tr-element-5><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-6><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-6><a href=#the-th-element>th</a></code> elements, when they have an <code>align</code> attribute whose value is an <a href=#ascii-case-insensitive id=tables-2:ascii-case-insensitive-2>ASCII case-insensitive</a> match for
+  <p>The <code id=tables-2:the-caption-element-2><a href=#the-caption-element>caption</a></code>, <code id=tables-2:the-thead-element-2><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-2><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-2><a href=#the-tfoot-element>tfoot</a></code>,
+  <code id=tables-2:the-tr-element-4><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-6><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-6><a href=#the-th-element>th</a></code> elements, when they have an <code>align</code> attribute whose value is an <a href=#ascii-case-insensitive id=tables-2:ascii-case-insensitive-2>ASCII case-insensitive</a> match for
   the string "<code>left</code>", are expected to left-align text within themselves, as if
   they had their 'text-align' property set to 'left' in a <a href=#presentational-hints id=tables-2:presentational-hints-3>presentational hint</a>, and to <a href=#align-descendants id=tables-2:align-descendants-2>align descendants</a> to the left.</p>
 
-  <p>The <code id=tables-2:the-caption-element-3><a href=#the-caption-element>caption</a></code>, <code id=tables-2:the-thead-element-4><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-4><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-4><a href=#the-tfoot-element>tfoot</a></code>,
-  <code id=tables-2:the-tr-element-6><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-7><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-7><a href=#the-th-element>th</a></code> elements, when they have an <code>align</code> attribute whose value is an <a href=#ascii-case-insensitive id=tables-2:ascii-case-insensitive-3>ASCII case-insensitive</a> match for
+  <p>The <code id=tables-2:the-caption-element-3><a href=#the-caption-element>caption</a></code>, <code id=tables-2:the-thead-element-3><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-3><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-3><a href=#the-tfoot-element>tfoot</a></code>,
+  <code id=tables-2:the-tr-element-5><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-7><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-7><a href=#the-th-element>th</a></code> elements, when they have an <code>align</code> attribute whose value is an <a href=#ascii-case-insensitive id=tables-2:ascii-case-insensitive-3>ASCII case-insensitive</a> match for
   the string "<code>right</code>", are expected to right-align text within themselves, as
   if they had their 'text-align' property set to 'right' in a <a href=#presentational-hints id=tables-2:presentational-hints-4>presentational hint</a>, and to <a href=#align-descendants id=tables-2:align-descendants-3>align descendants</a> to the right.</p>
 
-  <p>The <code id=tables-2:the-caption-element-4><a href=#the-caption-element>caption</a></code>, <code id=tables-2:the-thead-element-5><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-5><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-5><a href=#the-tfoot-element>tfoot</a></code>,
-  <code id=tables-2:the-tr-element-7><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-8><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-8><a href=#the-th-element>th</a></code> elements, when they have an <code>align</code> attribute whose value is an <a href=#ascii-case-insensitive id=tables-2:ascii-case-insensitive-4>ASCII case-insensitive</a> match for
+  <p>The <code id=tables-2:the-caption-element-4><a href=#the-caption-element>caption</a></code>, <code id=tables-2:the-thead-element-4><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-4><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-4><a href=#the-tfoot-element>tfoot</a></code>,
+  <code id=tables-2:the-tr-element-6><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-8><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-8><a href=#the-th-element>th</a></code> elements, when they have an <code>align</code> attribute whose value is an <a href=#ascii-case-insensitive id=tables-2:ascii-case-insensitive-4>ASCII case-insensitive</a> match for
   the string "<code>justify</code>", are expected to full-justify text within themselves,
   as if they had their 'text-align' property set to 'justify' in a <a href=#presentational-hints id=tables-2:presentational-hints-5>presentational hint</a>, and to <a href=#align-descendants id=tables-2:align-descendants-4>align descendants</a> to the left.</p>
 
@@ -78799,20 +78774,20 @@
 
   <hr>
 
-  <p>When a <code id=tables-2:the-table-element-13><a href=#the-table-element>table</a></code>, <code id=tables-2:the-thead-element-6><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-6><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-6><a href=#the-tfoot-element>tfoot</a></code>,
-  <code id=tables-2:the-tr-element-8><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-9><a href=#the-td-element>td</a></code>, or <code id=tables-2:the-th-element-10><a href=#the-th-element>th</a></code> element has a <code id=tables-2:attr-background><a href=#attr-background>background</a></code> attribute set to a non-empty value, the new value is
+  <p>When a <code id=tables-2:the-table-element-12><a href=#the-table-element>table</a></code>, <code id=tables-2:the-thead-element-5><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-5><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-5><a href=#the-tfoot-element>tfoot</a></code>,
+  <code id=tables-2:the-tr-element-7><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-9><a href=#the-td-element>td</a></code>, or <code id=tables-2:the-th-element-10><a href=#the-th-element>th</a></code> element has a <code id=tables-2:attr-background><a href=#attr-background>background</a></code> attribute set to a non-empty value, the new value is
   expected to be <a href=#resolve-a-url id=tables-2:resolve-a-url>resolved</a> relative to the element, and if this is
   successful, the user agent is expected to treat the attribute as a <a href=#presentational-hints id=tables-2:presentational-hints-6>presentational hint</a> setting the element's 'background-image' property to the
   resulting <a href=#absolute-url id=tables-2:absolute-url>absolute URL</a>.</p>
 
-  <p>When a <code id=tables-2:the-table-element-14><a href=#the-table-element>table</a></code>, <code id=tables-2:the-thead-element-7><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-7><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-7><a href=#the-tfoot-element>tfoot</a></code>,
-  <code id=tables-2:the-tr-element-9><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-10><a href=#the-td-element>td</a></code>, or <code id=tables-2:the-th-element-11><a href=#the-th-element>th</a></code> element has a <code>bgcolor</code>
+  <p>When a <code id=tables-2:the-table-element-13><a href=#the-table-element>table</a></code>, <code id=tables-2:the-thead-element-6><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-6><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-6><a href=#the-tfoot-element>tfoot</a></code>,
+  <code id=tables-2:the-tr-element-8><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-10><a href=#the-td-element>td</a></code>, or <code id=tables-2:the-th-element-11><a href=#the-th-element>th</a></code> element has a <code>bgcolor</code>
   attribute set, the new value is expected to be parsed using the <a href=#rules-for-parsing-a-legacy-colour-value id=tables-2:rules-for-parsing-a-legacy-colour-value>rules for parsing a legacy
   colour value</a>, and if that does not return an error, the user agent is expected to treat the
   attribute as a <a href=#presentational-hints id=tables-2:presentational-hints-7>presentational hint</a> setting the element's
   'background-color' property to the resulting colour.</p>
 
-  <p>When a <code id=tables-2:the-table-element-15><a href=#the-table-element>table</a></code> element has a <code id=tables-2:attr-table-bordercolor><a href=#attr-table-bordercolor>bordercolor</a></code>
+  <p>When a <code id=tables-2:the-table-element-14><a href=#the-table-element>table</a></code> element has a <code id=tables-2:attr-table-bordercolor><a href=#attr-table-bordercolor>bordercolor</a></code>
   attribute, its value is expected to be parsed using the <a href=#rules-for-parsing-a-legacy-colour-value id=tables-2:rules-for-parsing-a-legacy-colour-value-2>rules for parsing a legacy colour
   value</a>, and if that does not return an error, the user agent is expected to treat the
   attribute as a <a href=#presentational-hints id=tables-2:presentational-hints-8>presentational hint</a> setting the element's
@@ -78821,7 +78796,7 @@
 
   <hr>
 
-  <p>The <code id=tables-2:the-table-element-16><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-border><a href=#attr-table-border>border</a></code> attribute <a href=#maps-to-the-pixel-length-property id=tables-2:maps-to-the-pixel-length-property-3>maps to the pixel length properties</a>
+  <p>The <code id=tables-2:the-table-element-15><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-border><a href=#attr-table-border>border</a></code> attribute <a href=#maps-to-the-pixel-length-property id=tables-2:maps-to-the-pixel-length-property-3>maps to the pixel length properties</a>
   'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width' on the
   element. If the attribute is present but parsing the attribute's value using the <a href=#rules-for-parsing-non-negative-integers id=tables-2:rules-for-parsing-non-negative-integers-4>rules for
   parsing non-negative integers</a> generates an error, a default value of 1px is expected to be

Modified: index
===================================================================
--- index	2014-10-28 18:20:29 UTC (rev 8842)
+++ index	2014-10-28 18:39:44 UTC (rev 8843)
@@ -62458,7 +62458,7 @@
   
 
 
-  <h4 id=navigator.online>7.7.11 Browser state</h4>
+  <h4 id=navigator.online>7.7.11 <span id=browser-state>Browser state</span></h4><div class=status><input onclick=toggleStatus(this) value=⋰ type=button><p class=support><strong>Support:</strong> <span class="chrome yes"><span>Chrome</span> <span>14+</span></span><span class="ie yes"><span>IE</span> <span>9+</span></span><span class="firefox partial"><span><span>Firefox</span> (limited) </span><span>4+</span></span><span class="and_chr yes"><span>Chrome for Android</span> <span>38+</span></span><span class="ios_saf yes"><span>iOS Safari</span> <span>4.2-4.3+</span></span><span class="android yes"><span>Android Browser</span> <span>2.3+</span></span><span class="op_mini no"><span>Opera Mini</span> <span>None</span></span><span class="and_uc partial"><span><span>UC Browser for Android</span> (limited) </span><span>9.9+</span></span><span class="safari yes"><span>Safari</span> <span>5+</span></span><span class="opera yes"><span>Opera</span> <span>15+</span></span><span class=
 "ie_mob yes"><span>IE Mobile</span> <span>10+</span></span><span class="and_ff yes"><span>Firefox for Android</span> <span>32+</span></span><p class=caniuse>Source: <a href="http://caniuse.com/#feat=online-status">caniuse.com</a></div>
 
   <pre class=idl>[NoInterfaceObject, Exposed=(Window,Worker)]
 interface <dfn id=navigatoronline>NavigatorOnLine</dfn> {
@@ -77819,17 +77819,15 @@
   display: none;
 }
 
-embed[hidden] { display: inline; height: 0; width: 0; }</pre> 
+embed[hidden] { display: inline; height: 0; width: 0; } 
 
+input[type=hidden i] { display none ! important; }</pre>
+
   <p>The user agent is expected to force the 'display' property of <code id=hidden-elements:the-noscript-element><a href=#the-noscript-element>noscript</a></code> elements
   for whom <a href=#concept-n-script id=hidden-elements:concept-n-script>scripting is enabled</a> to compute to 'none',
   irrespective of CSS rules.</p>
 
-  <p>The user agent is expected to force the 'display' property of <code id=hidden-elements:the-input-element><a href=#the-input-element>input</a></code> elements whose
-  <code id=hidden-elements:attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#hidden-state-(type=hidden)" id="hidden-elements:hidden-state-(type=hidden)">Hidden</a> state to compute to 'none', irrespective of CSS
-  rules.</p>
 
-
   <h4 id=the-page>14.3.2 The page</h4>
 
   <pre class=css>@namespace url(http://www.w3.org/1999/xhtml);
@@ -78405,12 +78403,8 @@
 h5 { margin-top: 1.67em; margin-bottom: 1.67em; font-size: 0.83em; font-weight: bold; }
 h6 { margin-top: 2.33em; margin-bottom: 2.33em; font-size: 0.67em; font-weight: bold; }</pre>
 
-  <p>The <code id=sections-and-headings:the-article-element><a href=#the-article-element>article</a></code>, <code id=sections-and-headings:the-aside-element><a href=#the-aside-element>aside</a></code>, <code id=sections-and-headings:the-nav-element><a href=#the-nav-element>nav</a></code>, and <code id=sections-and-headings:the-section-element><a href=#the-section-element>section</a></code>
-  elements are expected to affect the margins and font size of <code id=sections-and-headings:the-h1,-h2,-h3,-h4,-h5,-and-h6-elements><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> elements, as well as
-  <code id=sections-and-headings:the-h1,-h2,-h3,-h4,-h5,-and-h6-elements-2><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h2</a></code>–<code id=sections-and-headings:the-h1,-h2,-h3,-h4,-h5,-and-h6-elements-3><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h5</a></code> elements that follow <code id=sections-and-headings:the-h1,-h2,-h3,-h4,-h5,-and-h6-elements-4><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> elements in
-  <code id=sections-and-headings:the-hgroup-element><a href=#the-hgroup-element>hgroup</a></code> elements, based on the nesting depth. If <var>x</var> is a selector
-  that matches elements that are either <code id=sections-and-headings:the-article-element-2><a href=#the-article-element>article</a></code>, <code id=sections-and-headings:the-aside-element-2><a href=#the-aside-element>aside</a></code>, <code id=sections-and-headings:the-nav-element-2><a href=#the-nav-element>nav</a></code>,
-  or <code id=sections-and-headings:the-section-element-2><a href=#the-section-element>section</a></code> elements, then the following rules capture what is expected:</p>
+  <p>In the following CSS block, <var>x</var> is shorthand for the following selector:
+  <code>:matches(article, aside, nav, section)</code></p>
 
   <pre class=css>@namespace url(http://www.w3.org/1999/xhtml);
 
@@ -78434,8 +78428,10 @@
 
 <var>x</var> hgroup > h1 ~ h5 { margin-top: 2.33em; margin-bottom: 2.33em; font-size: 0.67em; }</pre>
 
+  <p class=note>The shorthand is used to keep this block at least mildly readable.</p>
 
 
+
   <h4 id=lists>14.3.8 Lists</h4><div class=status><input onclick=toggleStatus(this) value=⋰ type=button><p class=bugs><strong>Spec bugs:</strong> <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=17770" title="i18n comment 20 : list item marker display and position">17770</a></div>
 
   <pre class=css>@namespace url(http://www.w3.org/1999/xhtml);
@@ -78445,11 +78441,7 @@
 
 dir, dl, menu, ol, ul { margin-top: 1em; margin-bottom: 1em; }
 
-dir dir, dir dl, dir menu, dir ol, dir ul,
-dl dir, dl dl, dl menu, dl ol, dl ul,
-menu dir, menu dl, menu menu, menu ol, menu ul,
-ol dir, ol dl, ol menu, ol ol, ol ul,
-ul dir, ul dl, ul menu, ul ol, ul ul {
+:matches(dir, dl, menu, ol, ul) :matches(dir, dl, menu, ol, ul) {
   margin-top: 0; margin-bottom: 0;
 }
 
@@ -78458,31 +78450,13 @@
 
 ol { list-style-type: decimal; }
 
-dir, menu, ul { list-style-type: disc; }
-
-dir dir, dir menu, dir ul,
-menu dir, menu menu, menu ul,
-ol dir, ol menu, ol ul,
-ul dir, ul menu, ul ul {
+dir, menu, ul {
+  list-style-type: disc;
+}
+:matches(dir, menu, ol, ul) :matches(dir, menu, ul) {
   list-style-type: circle;
 }
-
-dir dir dir, dir dir menu, dir dir ul,
-dir menu dir, dir menu menu, dir menu ul,
-dir ol dir, dir ol menu, dir ol ul,
-dir ul dir, dir ul menu, dir ul ul,
-menu dir dir, menu dir menu, menu dir ul,
-menu menu dir, menu menu menu, menu menu ul,
-menu ol dir, menu ol menu, menu ol ul,
-menu ul dir, menu ul menu, menu ul ul,
-ol dir dir, ol dir menu, ol dir ul,
-ol menu dir, ol menu menu, ol menu ul,
-ol ol dir, ol ol menu, ol ol ul,
-ol ul dir, ol ul menu, ol ul ul,
-ul dir dir, ul dir menu, ul dir ul,
-ul menu dir, ul menu menu, ul menu ul,
-ul ol dir, ul ol menu, ul ol ul,
-ul ul dir, ul ul menu, ul ul ul {
+:matches(dir, menu, ol, ul) :matches(dir, menu, ol, ul) :matches(dir menu ul) {
   list-style-type: square;
 }</pre>
 
@@ -78726,39 +78700,40 @@
   elements are expected to <a href=#rules-for-parsing-non-negative-integers id=tables-2:rules-for-parsing-non-negative-integers-3>provide</a> the
   <i>special knowledge</i> regarding cells spanning rows and columns.</p>
 
-  <p>In <a href=#html-documents id=tables-2:html-documents>HTML documents</a>, the user agent is expected to force the 'display' property of
-  <code id=tables-2:the-form-element><a href=#the-form-element>form</a></code> elements that are children of <code id=tables-2:the-table-element><a href=#the-table-element>table</a></code>, <code id=tables-2:the-thead-element><a href=#the-thead-element>thead</a></code>,
-  <code id=tables-2:the-tbody-element><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element><a href=#the-tfoot-element>tfoot</a></code>, or <code id=tables-2:the-tr-element><a href=#the-tr-element>tr</a></code> elements to compute to 'none',
-  irrespective of CSS rules.</p>
+  <p>In <a href=#html-documents id=tables-2:html-documents>HTML documents</a>, the following rules are also expected to apply:</p>
 
+  <pre class=css>@namespace url(http://www.w3.org/1999/xhtml);
+
+:matches(table, thead, tbody, tfoot, tr) > form {  display: none !important; }</pre>
+
   <hr>
 
-  <p>The <code id=tables-2:the-table-element-2><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-cellspacing><a href=#attr-table-cellspacing>cellspacing</a></code>
+  <p>The <code id=tables-2:the-table-element><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-cellspacing><a href=#attr-table-cellspacing>cellspacing</a></code>
   attribute <a href=#maps-to-the-pixel-length-property id=tables-2:maps-to-the-pixel-length-property>maps to the pixel length property</a> 'border-spacing' on the element.</p>
 
-  <p>The <code id=tables-2:the-table-element-3><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-cellpadding><a href=#attr-table-cellpadding>cellpadding</a></code>
+  <p>The <code id=tables-2:the-table-element-2><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-cellpadding><a href=#attr-table-cellpadding>cellpadding</a></code>
   attribute <a href=#maps-to-the-pixel-length-property id=tables-2:maps-to-the-pixel-length-property-2>maps to the pixel length
   properties</a> 'padding-top', 'padding-right', 'padding-bottom', and 'padding-left' of any
   <code id=tables-2:the-td-element-2><a href=#the-td-element>td</a></code> and <code id=tables-2:the-th-element-2><a href=#the-th-element>th</a></code> elements that have corresponding <a href=#concept-cell id=tables-2:concept-cell>cells</a> in the <a href=#concept-table id=tables-2:concept-table>table</a> corresponding to
-  the <code id=tables-2:the-table-element-4><a href=#the-table-element>table</a></code> element.</p>
+  the <code id=tables-2:the-table-element-3><a href=#the-table-element>table</a></code> element.</p>
 
-  <p>The <code id=tables-2:the-table-element-5><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-hspace><a href=#attr-table-hspace>hspace</a></code> attribute <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property>maps to the dimension properties</a> 'margin-left' and
-  'margin-right' on the <code id=tables-2:the-table-element-6><a href=#the-table-element>table</a></code> element.</p>
+  <p>The <code id=tables-2:the-table-element-4><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-hspace><a href=#attr-table-hspace>hspace</a></code> attribute <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property>maps to the dimension properties</a> 'margin-left' and
+  'margin-right' on the <code id=tables-2:the-table-element-5><a href=#the-table-element>table</a></code> element.</p>
 
-  <p>The <code id=tables-2:the-table-element-7><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-vspace><a href=#attr-table-vspace>vspace</a></code> attribute <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-2>maps to the dimension properties</a> 'margin-top' and
-  'margin-bottom' on the <code id=tables-2:the-table-element-8><a href=#the-table-element>table</a></code> element.</p>
+  <p>The <code id=tables-2:the-table-element-6><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-vspace><a href=#attr-table-vspace>vspace</a></code> attribute <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-2>maps to the dimension properties</a> 'margin-top' and
+  'margin-bottom' on the <code id=tables-2:the-table-element-7><a href=#the-table-element>table</a></code> element.</p>
 
-  <p>The <code id=tables-2:the-table-element-9><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-height><a href=#attr-table-height>height</a></code> attribute
-  <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-3>maps to the dimension property</a> 'height' on the <code id=tables-2:the-table-element-10><a href=#the-table-element>table</a></code> element.</p>
+  <p>The <code id=tables-2:the-table-element-8><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-height><a href=#attr-table-height>height</a></code> attribute
+  <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-3>maps to the dimension property</a> 'height' on the <code id=tables-2:the-table-element-9><a href=#the-table-element>table</a></code> element.</p>
 
-  <p>The <code id=tables-2:the-table-element-11><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-width><a href=#attr-table-width>width</a></code> attribute
-  <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-4>maps to the dimension property</a> 'width' on the <code id=tables-2:the-table-element-12><a href=#the-table-element>table</a></code> element.</p>
+  <p>The <code id=tables-2:the-table-element-10><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-width><a href=#attr-table-width>width</a></code> attribute
+  <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-4>maps to the dimension property</a> 'width' on the <code id=tables-2:the-table-element-11><a href=#the-table-element>table</a></code> element.</p>
 
   <p>The <code id=tables-2:the-col-element-3><a href=#the-col-element>col</a></code> element's <code id=tables-2:attr-col-width><a href=#attr-col-width>width</a></code> attribute <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-5>maps
   to the dimension property</a> 'width' on the <code id=tables-2:the-col-element-4><a href=#the-col-element>col</a></code> element.</p>
 
-  <p>The <code id=tables-2:the-tr-element-2><a href=#the-tr-element>tr</a></code> element's <code id=tables-2:attr-tr-height><a href=#attr-tr-height>height</a></code> attribute <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-6>maps
-  to the dimension property</a> 'height' on the <code id=tables-2:the-tr-element-3><a href=#the-tr-element>tr</a></code> element.</p>
+  <p>The <code id=tables-2:the-tr-element><a href=#the-tr-element>tr</a></code> element's <code id=tables-2:attr-tr-height><a href=#attr-tr-height>height</a></code> attribute <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-6>maps
+  to the dimension property</a> 'height' on the <code id=tables-2:the-tr-element-2><a href=#the-tr-element>tr</a></code> element.</p>
 
   <p>The <code id=tables-2:the-td-element-3><a href=#the-td-element>td</a></code> and <code id=tables-2:the-th-element-3><a href=#the-th-element>th</a></code> elements' <code id=tables-2:attr-tdth-height><a href=#attr-tdth-height>height</a></code>
   attributes <a href=#maps-to-the-dimension-property id=tables-2:maps-to-the-dimension-property-7>map to the dimension property</a>
@@ -78770,25 +78745,25 @@
 
   <hr>
 
-  <p>The <code id=tables-2:the-caption-element><a href=#the-caption-element>caption</a></code> element unless specified otherwise below, and the <code id=tables-2:the-thead-element-2><a href=#the-thead-element>thead</a></code>,
-  <code id=tables-2:the-tbody-element-2><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-2><a href=#the-tfoot-element>tfoot</a></code>, <code id=tables-2:the-tr-element-4><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-5><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-5><a href=#the-th-element>th</a></code>
+  <p>The <code id=tables-2:the-caption-element><a href=#the-caption-element>caption</a></code> element unless specified otherwise below, and the <code id=tables-2:the-thead-element><a href=#the-thead-element>thead</a></code>,
+  <code id=tables-2:the-tbody-element><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element><a href=#the-tfoot-element>tfoot</a></code>, <code id=tables-2:the-tr-element-3><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-5><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-5><a href=#the-th-element>th</a></code>
   elements when they have an <code>align</code> attribute whose value is an <a href=#ascii-case-insensitive id=tables-2:ascii-case-insensitive>ASCII
   case-insensitive</a> match for either the string "<code>center</code>" or the string
   "<code>middle</code>", are expected to center text within themselves, as if they had
   their 'text-align' property set to 'center' in a <a href=#presentational-hints id=tables-2:presentational-hints-2>presentational hint</a>, and to <a href=#align-descendants id=tables-2:align-descendants>align descendants</a> to the center.</p>
 
-  <p>The <code id=tables-2:the-caption-element-2><a href=#the-caption-element>caption</a></code>, <code id=tables-2:the-thead-element-3><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-3><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-3><a href=#the-tfoot-element>tfoot</a></code>,
-  <code id=tables-2:the-tr-element-5><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-6><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-6><a href=#the-th-element>th</a></code> elements, when they have an <code>align</code> attribute whose value is an <a href=#ascii-case-insensitive id=tables-2:ascii-case-insensitive-2>ASCII case-insensitive</a> match for
+  <p>The <code id=tables-2:the-caption-element-2><a href=#the-caption-element>caption</a></code>, <code id=tables-2:the-thead-element-2><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-2><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-2><a href=#the-tfoot-element>tfoot</a></code>,
+  <code id=tables-2:the-tr-element-4><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-6><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-6><a href=#the-th-element>th</a></code> elements, when they have an <code>align</code> attribute whose value is an <a href=#ascii-case-insensitive id=tables-2:ascii-case-insensitive-2>ASCII case-insensitive</a> match for
   the string "<code>left</code>", are expected to left-align text within themselves, as if
   they had their 'text-align' property set to 'left' in a <a href=#presentational-hints id=tables-2:presentational-hints-3>presentational hint</a>, and to <a href=#align-descendants id=tables-2:align-descendants-2>align descendants</a> to the left.</p>
 
-  <p>The <code id=tables-2:the-caption-element-3><a href=#the-caption-element>caption</a></code>, <code id=tables-2:the-thead-element-4><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-4><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-4><a href=#the-tfoot-element>tfoot</a></code>,
-  <code id=tables-2:the-tr-element-6><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-7><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-7><a href=#the-th-element>th</a></code> elements, when they have an <code>align</code> attribute whose value is an <a href=#ascii-case-insensitive id=tables-2:ascii-case-insensitive-3>ASCII case-insensitive</a> match for
+  <p>The <code id=tables-2:the-caption-element-3><a href=#the-caption-element>caption</a></code>, <code id=tables-2:the-thead-element-3><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-3><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-3><a href=#the-tfoot-element>tfoot</a></code>,
+  <code id=tables-2:the-tr-element-5><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-7><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-7><a href=#the-th-element>th</a></code> elements, when they have an <code>align</code> attribute whose value is an <a href=#ascii-case-insensitive id=tables-2:ascii-case-insensitive-3>ASCII case-insensitive</a> match for
   the string "<code>right</code>", are expected to right-align text within themselves, as
   if they had their 'text-align' property set to 'right' in a <a href=#presentational-hints id=tables-2:presentational-hints-4>presentational hint</a>, and to <a href=#align-descendants id=tables-2:align-descendants-3>align descendants</a> to the right.</p>
 
-  <p>The <code id=tables-2:the-caption-element-4><a href=#the-caption-element>caption</a></code>, <code id=tables-2:the-thead-element-5><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-5><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-5><a href=#the-tfoot-element>tfoot</a></code>,
-  <code id=tables-2:the-tr-element-7><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-8><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-8><a href=#the-th-element>th</a></code> elements, when they have an <code>align</code> attribute whose value is an <a href=#ascii-case-insensitive id=tables-2:ascii-case-insensitive-4>ASCII case-insensitive</a> match for
+  <p>The <code id=tables-2:the-caption-element-4><a href=#the-caption-element>caption</a></code>, <code id=tables-2:the-thead-element-4><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-4><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-4><a href=#the-tfoot-element>tfoot</a></code>,
+  <code id=tables-2:the-tr-element-6><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-8><a href=#the-td-element>td</a></code>, and <code id=tables-2:the-th-element-8><a href=#the-th-element>th</a></code> elements, when they have an <code>align</code> attribute whose value is an <a href=#ascii-case-insensitive id=tables-2:ascii-case-insensitive-4>ASCII case-insensitive</a> match for
   the string "<code>justify</code>", are expected to full-justify text within themselves,
   as if they had their 'text-align' property set to 'justify' in a <a href=#presentational-hints id=tables-2:presentational-hints-5>presentational hint</a>, and to <a href=#align-descendants id=tables-2:align-descendants-4>align descendants</a> to the left.</p>
 
@@ -78799,20 +78774,20 @@
 
   <hr>
 
-  <p>When a <code id=tables-2:the-table-element-13><a href=#the-table-element>table</a></code>, <code id=tables-2:the-thead-element-6><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-6><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-6><a href=#the-tfoot-element>tfoot</a></code>,
-  <code id=tables-2:the-tr-element-8><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-9><a href=#the-td-element>td</a></code>, or <code id=tables-2:the-th-element-10><a href=#the-th-element>th</a></code> element has a <code id=tables-2:attr-background><a href=#attr-background>background</a></code> attribute set to a non-empty value, the new value is
+  <p>When a <code id=tables-2:the-table-element-12><a href=#the-table-element>table</a></code>, <code id=tables-2:the-thead-element-5><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-5><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-5><a href=#the-tfoot-element>tfoot</a></code>,
+  <code id=tables-2:the-tr-element-7><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-9><a href=#the-td-element>td</a></code>, or <code id=tables-2:the-th-element-10><a href=#the-th-element>th</a></code> element has a <code id=tables-2:attr-background><a href=#attr-background>background</a></code> attribute set to a non-empty value, the new value is
   expected to be <a href=#resolve-a-url id=tables-2:resolve-a-url>resolved</a> relative to the element, and if this is
   successful, the user agent is expected to treat the attribute as a <a href=#presentational-hints id=tables-2:presentational-hints-6>presentational hint</a> setting the element's 'background-image' property to the
   resulting <a href=#absolute-url id=tables-2:absolute-url>absolute URL</a>.</p>
 
-  <p>When a <code id=tables-2:the-table-element-14><a href=#the-table-element>table</a></code>, <code id=tables-2:the-thead-element-7><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-7><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-7><a href=#the-tfoot-element>tfoot</a></code>,
-  <code id=tables-2:the-tr-element-9><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-10><a href=#the-td-element>td</a></code>, or <code id=tables-2:the-th-element-11><a href=#the-th-element>th</a></code> element has a <code>bgcolor</code>
+  <p>When a <code id=tables-2:the-table-element-13><a href=#the-table-element>table</a></code>, <code id=tables-2:the-thead-element-6><a href=#the-thead-element>thead</a></code>, <code id=tables-2:the-tbody-element-6><a href=#the-tbody-element>tbody</a></code>, <code id=tables-2:the-tfoot-element-6><a href=#the-tfoot-element>tfoot</a></code>,
+  <code id=tables-2:the-tr-element-8><a href=#the-tr-element>tr</a></code>, <code id=tables-2:the-td-element-10><a href=#the-td-element>td</a></code>, or <code id=tables-2:the-th-element-11><a href=#the-th-element>th</a></code> element has a <code>bgcolor</code>
   attribute set, the new value is expected to be parsed using the <a href=#rules-for-parsing-a-legacy-colour-value id=tables-2:rules-for-parsing-a-legacy-colour-value>rules for parsing a legacy
   colour value</a>, and if that does not return an error, the user agent is expected to treat the
   attribute as a <a href=#presentational-hints id=tables-2:presentational-hints-7>presentational hint</a> setting the element's
   'background-color' property to the resulting colour.</p>
 
-  <p>When a <code id=tables-2:the-table-element-15><a href=#the-table-element>table</a></code> element has a <code id=tables-2:attr-table-bordercolor><a href=#attr-table-bordercolor>bordercolor</a></code>
+  <p>When a <code id=tables-2:the-table-element-14><a href=#the-table-element>table</a></code> element has a <code id=tables-2:attr-table-bordercolor><a href=#attr-table-bordercolor>bordercolor</a></code>
   attribute, its value is expected to be parsed using the <a href=#rules-for-parsing-a-legacy-colour-value id=tables-2:rules-for-parsing-a-legacy-colour-value-2>rules for parsing a legacy colour
   value</a>, and if that does not return an error, the user agent is expected to treat the
   attribute as a <a href=#presentational-hints id=tables-2:presentational-hints-8>presentational hint</a> setting the element's
@@ -78821,7 +78796,7 @@
 
   <hr>
 
-  <p>The <code id=tables-2:the-table-element-16><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-border><a href=#attr-table-border>border</a></code> attribute <a href=#maps-to-the-pixel-length-property id=tables-2:maps-to-the-pixel-length-property-3>maps to the pixel length properties</a>
+  <p>The <code id=tables-2:the-table-element-15><a href=#the-table-element>table</a></code> element's <code id=tables-2:attr-table-border><a href=#attr-table-border>border</a></code> attribute <a href=#maps-to-the-pixel-length-property id=tables-2:maps-to-the-pixel-length-property-3>maps to the pixel length properties</a>
   'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width' on the
   element. If the attribute is present but parsing the attribute's value using the <a href=#rules-for-parsing-non-negative-integers id=tables-2:rules-for-parsing-non-negative-integers-4>rules for
   parsing non-negative integers</a> generates an error, a default value of 1px is expected to be

Modified: source
===================================================================
--- source	2014-10-28 18:20:29 UTC (rev 8842)
+++ source	2014-10-28 18:39:44 UTC (rev 8843)
@@ -84352,7 +84352,7 @@
   </div>
 
 
-  <h4 id="navigator.online">Browser state</h4>
+  <h4 id="navigator.online"><span id="browser-state">Browser state</span></h4>
 
   <pre class="idl">[NoInterfaceObject, Exposed=(Window,Worker)]
 interface <dfn>NavigatorOnLine</dfn> {
@@ -106328,18 +106328,15 @@
   display: none;
 }
 
-embed[hidden] { display: inline; height: 0; width: 0; }</pre> <!-- because for legacy reasons it still needs to instantiate the plugin -->
+embed[hidden] { display: inline; height: 0; width: 0; } <!-- because for legacy reasons it still needs to instantiate the plugin -->
 
+input[type=hidden i] { display none ! important; }</pre>
+
   <p>The user agent is expected to force the 'display' property of <code>noscript</code> elements
   for whom <span data-x="concept-n-script">scripting is enabled</span> to compute to 'none',
   irrespective of CSS rules.</p>
 
-  <p>The user agent is expected to force the 'display' property of <code>input</code> elements whose
-  <code data-x="attr-input-type">type</code> attribute is in the <span
-  data-x="attr-input-type-hidden">Hidden</span> state to compute to 'none', irrespective of CSS
-  rules.</p>
 
-
   <h4>The page</h4>
 
   <pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
@@ -106826,12 +106823,8 @@
 h5 { margin-top: 1.67em; margin-bottom: 1.67em; font-size: 0.83em; font-weight: bold; }
 h6 { margin-top: 2.33em; margin-bottom: 2.33em; font-size: 0.67em; font-weight: bold; }</pre>
 
-  <p>The <code>article</code>, <code>aside</code>, <code>nav</code>, and <code>section</code>
-  elements are expected to affect the margins and font size of <code>h1</code> elements, as well as
-  <code>h2</code>–<code>h5</code> elements that follow <code>h1</code> elements in
-  <code>hgroup</code> elements, based on the nesting depth. If <var>x</var> is a selector
-  that matches elements that are either <code>article</code>, <code>aside</code>, <code>nav</code>,
-  or <code>section</code> elements, then the following rules capture what is expected:</p>
+  <p>In the following CSS block, <var>x</var> is shorthand for the following selector:
+  <code>:matches(article, aside, nav, section)</code></p>
 
   <pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
 
@@ -106855,8 +106848,10 @@
 
 <var>x</var> hgroup > h1 ~ h5 { margin-top: 2.33em; margin-bottom: 2.33em; font-size: 0.67em; }</pre>
 
+  <p class="note">The shorthand is used to keep this block at least mildly readable.</p>
 
 
+
   <h4>Lists</h4>
 
   <pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
@@ -106866,11 +106861,7 @@
 
 dir, dl, menu, ol, ul { margin-top: 1em; margin-bottom: 1em; }
 
-dir dir, dir dl, dir menu, dir ol, dir ul,
-dl dir, dl dl, dl menu, dl ol, dl ul,
-menu dir, menu dl, menu menu, menu ol, menu ul,
-ol dir, ol dl, ol menu, ol ol, ol ul,
-ul dir, ul dl, ul menu, ul ol, ul ul {
+:matches(dir, dl, menu, ol, ul) :matches(dir, dl, menu, ol, ul) {
   margin-top: 0; margin-bottom: 0;
 }
 
@@ -106879,31 +106870,13 @@
 
 ol { list-style-type: decimal; }
 
-dir, menu, ul { list-style-type: disc; }
-
-dir dir, dir menu, dir ul,
-menu dir, menu menu, menu ul,
-ol dir, ol menu, ol ul,
-ul dir, ul menu, ul ul {
+dir, menu, ul {
+  list-style-type: disc;
+}
+:matches(dir, menu, ol, ul) :matches(dir, menu, ul) {
   list-style-type: circle;
 }
-
-dir dir dir, dir dir menu, dir dir ul,
-dir menu dir, dir menu menu, dir menu ul,
-dir ol dir, dir ol menu, dir ol ul,
-dir ul dir, dir ul menu, dir ul ul,
-menu dir dir, menu dir menu, menu dir ul,
-menu menu dir, menu menu menu, menu menu ul,
-menu ol dir, menu ol menu, menu ol ul,
-menu ul dir, menu ul menu, menu ul ul,
-ol dir dir, ol dir menu, ol dir ul,
-ol menu dir, ol menu menu, ol menu ul,
-ol ol dir, ol ol menu, ol ol ul,
-ol ul dir, ol ul menu, ol ul ul,
-ul dir dir, ul dir menu, ul dir ul,
-ul menu dir, ul menu menu, ul menu ul,
-ul ol dir, ul ol menu, ul ol ul,
-ul ul dir, ul ul menu, ul ul ul {
+:matches(dir, menu, ol, ul) :matches(dir, menu, ol, ul) :matches(dir menu ul) {
   list-style-type: square;
 }</pre>
 
@@ -107160,11 +107133,12 @@
   elements are expected to <span data-x="rules for parsing non-negative integers">provide</span> the
   <i>special knowledge</i> regarding cells spanning rows and columns.</p>
 
-  <p>In <span>HTML documents</span>, the user agent is expected to force the 'display' property of
-  <code>form</code> elements that are children of <code>table</code>, <code>thead</code>,
-  <code>tbody</code>, <code>tfoot</code>, or <code>tr</code> elements to compute to 'none',
-  irrespective of CSS rules.</p>
+  <p>In <span>HTML documents</span>, the following rules are also expected to apply:</p>
 
+  <pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
+
+:matches(table, thead, tbody, tfoot, tr) > form {  display: none !important; }</pre>
+
   <hr>
 
   <p>The <code>table</code> element's <code data-x="attr-table-cellspacing">cellspacing</code>



More information about the Commit-Watchers mailing list