[html5] r8871 - [giow] (0) Fix mistakes resulting from earlier checkins (meta, <option>.label) F [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Dec 3 17:25:08 PST 2014


Author: ianh
Date: 2014-12-03 17:25:04 -0800 (Wed, 03 Dec 2014)
New Revision: 8871

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Fix mistakes resulting from earlier checkins (meta, <option>.label)
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=27207
Affected topics: DOM APIs, HTML

Modified: complete.html
===================================================================
--- complete.html	2014-12-03 21:48:44 UTC (rev 8870)
+++ complete.html	2014-12-04 01:25:04 UTC (rev 8871)
@@ -9728,7 +9728,7 @@
     <tr><td><a href=#attr-meta-http-equiv-set-cookie id=pragma-directives:attr-meta-http-equiv-set-cookie>Cookie setter</a>
      <td><code>set-cookie</code>
      <td>Non-conforming
-    <tr><td><span>X-UA-Compatible</span>
+    <tr><td><a href=#attr-meta-http-equiv-x-ua-compatible id=pragma-directives:attr-meta-http-equiv-x-ua-compatible>X-UA-Compatible</a>
      <td><code>x-ua-compatible</code>
      <td>
   </table>
@@ -9936,7 +9936,7 @@
     specifications.</p>
 
     <p>For <code id=pragma-directives:the-meta-element-15><a href=#the-meta-element>meta</a></code> elements with an <code id=pragma-directives:attr-meta-http-equiv-8><a href=#attr-meta-http-equiv>http-equiv</a></code>
-    attribute in the <span>X-UA-Compatible state</span>, the
+    attribute in the <a href=#attr-meta-http-equiv-x-ua-compatible id=pragma-directives:attr-meta-http-equiv-x-ua-compatible-2>X-UA-Compatible state</a>, the
     <code id=pragma-directives:attr-meta-content-12><a href=#attr-meta-content>content</a></code> attribute must have the value "<code>IE=edge</code>".</p>
 
     <p>User agents are required to ignore this pragma.</p>
@@ -38481,9 +38481,11 @@
   <a href=#reflect id=the-option-element:reflect>reflect</a> the content attribute of the same name. The <dfn id=dom-option-defaultselected><code>defaultSelected</code></dfn> IDL attribute must
   <a href=#reflect id=the-option-element:reflect-2>reflect</a> the <code id=the-option-element:attr-option-selected-9><a href=#attr-option-selected>selected</a></code> content attribute.</p>
 
-  <p>The <dfn id=dom-option-label><code>label</code></dfn> IDL attribute, on getting, must
-  return the element's <a href=#concept-option-label id=the-option-element:concept-option-label>label</a>. On setting, the element's
-  <code id=the-option-element:attr-option-label-7><a href=#attr-option-label>label</a></code> content attribute must be set to the new value.</p>
+  <p>The <dfn id=dom-option-label><code>label</code></dfn> IDL attribute, on getting, if there
+  is a <code id=the-option-element:attr-option-label-7><a href=#attr-option-label>label</a></code> content attribute, must return that attribute's
+  value; otherwise, it must return the element's <a href=#concept-option-label id=the-option-element:concept-option-label>label</a>.
+  On setting, the element's <code id=the-option-element:attr-option-label-8><a href=#attr-option-label>label</a></code> content attribute must be
+  set to the new value.</p>
 
   <p>The <dfn id=dom-option-value><code>value</code></dfn> IDL attribute, on getting, must
   return the element's <a href=#concept-option-value id=the-option-element:concept-option-value>value</a>. On setting, the element's
@@ -38640,7 +38642,7 @@
 
   <p>The <a href=#concept-form-reset-control id=the-textarea-element:concept-form-reset-control>reset algorithm</a> for <code id=the-textarea-element:the-textarea-element-9><a href=#the-textarea-element>textarea</a></code>
   elements is to set the element's <a href=#concept-textarea-raw-value id=the-textarea-element:concept-textarea-raw-value-6>raw value</a> to the
-  value of the element's <code id=the-textarea-element:textcontent-3><a href=#textcontent>textContent</a></code> IDL attribute.<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=27072" title="When the parser inserts TEXTAREA element, the only chance to set its Raw Value is by the TEXTAREA's  [...]">27072</a></div>
+  value of the element's <code id=the-textarea-element:textcontent-3><a href=#textcontent>textContent</a></code> IDL attribute.<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=27072" title="When the parser inserts TEXTAREA element, the only chance to set its Raw Value is by the TEXTAREA's  [...]">27072</a></div><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=27504" title="The reset algorithm does not specify whether or not to set the dirty value flag back to false.">27504</a></div>
 
   
   
@@ -79782,7 +79784,7 @@
   <p>An <code id=the-select-element-2:the-optgroup-element-2><a href=#the-optgroup-element>optgroup</a></code> element is expected to be rendered by displaying the element's <code id=the-select-element-2:attr-optgroup-label><a href=#attr-optgroup-label>label</a></code> attribute.</p>
 
   <p>An <code id=the-select-element-2:the-option-element><a href=#the-option-element>option</a></code> element is expected to be rendered by displaying the element's <a href=#concept-option-label id=the-select-element-2:concept-option-label>label</a>, indented under its <code id=the-select-element-2:the-optgroup-element-3><a href=#the-optgroup-element>optgroup</a></code> element if it
-  has one.</p>
+  has one.<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=27207" title="Rendering option element with empty label attribute">27207</a></div>
 
   <p>The <dfn id="width-of-the-select's-labels">width of the <code>select</code>'s labels</dfn> is the wider of the width necessary to
   render the widest <code id=the-select-element-2:the-optgroup-element-4><a href=#the-optgroup-element>optgroup</a></code>, and the width necessary to render the widest

Modified: index
===================================================================
--- index	2014-12-03 21:48:44 UTC (rev 8870)
+++ index	2014-12-04 01:25:04 UTC (rev 8871)
@@ -9728,7 +9728,7 @@
     <tr><td><a href=#attr-meta-http-equiv-set-cookie id=pragma-directives:attr-meta-http-equiv-set-cookie>Cookie setter</a>
      <td><code>set-cookie</code>
      <td>Non-conforming
-    <tr><td><span>X-UA-Compatible</span>
+    <tr><td><a href=#attr-meta-http-equiv-x-ua-compatible id=pragma-directives:attr-meta-http-equiv-x-ua-compatible>X-UA-Compatible</a>
      <td><code>x-ua-compatible</code>
      <td>
   </table>
@@ -9936,7 +9936,7 @@
     specifications.</p>
 
     <p>For <code id=pragma-directives:the-meta-element-15><a href=#the-meta-element>meta</a></code> elements with an <code id=pragma-directives:attr-meta-http-equiv-8><a href=#attr-meta-http-equiv>http-equiv</a></code>
-    attribute in the <span>X-UA-Compatible state</span>, the
+    attribute in the <a href=#attr-meta-http-equiv-x-ua-compatible id=pragma-directives:attr-meta-http-equiv-x-ua-compatible-2>X-UA-Compatible state</a>, the
     <code id=pragma-directives:attr-meta-content-12><a href=#attr-meta-content>content</a></code> attribute must have the value "<code>IE=edge</code>".</p>
 
     <p>User agents are required to ignore this pragma.</p>
@@ -38481,9 +38481,11 @@
   <a href=#reflect id=the-option-element:reflect>reflect</a> the content attribute of the same name. The <dfn id=dom-option-defaultselected><code>defaultSelected</code></dfn> IDL attribute must
   <a href=#reflect id=the-option-element:reflect-2>reflect</a> the <code id=the-option-element:attr-option-selected-9><a href=#attr-option-selected>selected</a></code> content attribute.</p>
 
-  <p>The <dfn id=dom-option-label><code>label</code></dfn> IDL attribute, on getting, must
-  return the element's <a href=#concept-option-label id=the-option-element:concept-option-label>label</a>. On setting, the element's
-  <code id=the-option-element:attr-option-label-7><a href=#attr-option-label>label</a></code> content attribute must be set to the new value.</p>
+  <p>The <dfn id=dom-option-label><code>label</code></dfn> IDL attribute, on getting, if there
+  is a <code id=the-option-element:attr-option-label-7><a href=#attr-option-label>label</a></code> content attribute, must return that attribute's
+  value; otherwise, it must return the element's <a href=#concept-option-label id=the-option-element:concept-option-label>label</a>.
+  On setting, the element's <code id=the-option-element:attr-option-label-8><a href=#attr-option-label>label</a></code> content attribute must be
+  set to the new value.</p>
 
   <p>The <dfn id=dom-option-value><code>value</code></dfn> IDL attribute, on getting, must
   return the element's <a href=#concept-option-value id=the-option-element:concept-option-value>value</a>. On setting, the element's
@@ -38640,7 +38642,7 @@
 
   <p>The <a href=#concept-form-reset-control id=the-textarea-element:concept-form-reset-control>reset algorithm</a> for <code id=the-textarea-element:the-textarea-element-9><a href=#the-textarea-element>textarea</a></code>
   elements is to set the element's <a href=#concept-textarea-raw-value id=the-textarea-element:concept-textarea-raw-value-6>raw value</a> to the
-  value of the element's <code id=the-textarea-element:textcontent-3><a href=#textcontent>textContent</a></code> IDL attribute.<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=27072" title="When the parser inserts TEXTAREA element, the only chance to set its Raw Value is by the TEXTAREA's  [...]">27072</a></div>
+  value of the element's <code id=the-textarea-element:textcontent-3><a href=#textcontent>textContent</a></code> IDL attribute.<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=27072" title="When the parser inserts TEXTAREA element, the only chance to set its Raw Value is by the TEXTAREA's  [...]">27072</a></div><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=27504" title="The reset algorithm does not specify whether or not to set the dirty value flag back to false.">27504</a></div>
 
   
   
@@ -79782,7 +79784,7 @@
   <p>An <code id=the-select-element-2:the-optgroup-element-2><a href=#the-optgroup-element>optgroup</a></code> element is expected to be rendered by displaying the element's <code id=the-select-element-2:attr-optgroup-label><a href=#attr-optgroup-label>label</a></code> attribute.</p>
 
   <p>An <code id=the-select-element-2:the-option-element><a href=#the-option-element>option</a></code> element is expected to be rendered by displaying the element's <a href=#concept-option-label id=the-select-element-2:concept-option-label>label</a>, indented under its <code id=the-select-element-2:the-optgroup-element-3><a href=#the-optgroup-element>optgroup</a></code> element if it
-  has one.</p>
+  has one.<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=27207" title="Rendering option element with empty label attribute">27207</a></div>
 
   <p>The <dfn id="width-of-the-select's-labels">width of the <code>select</code>'s labels</dfn> is the wider of the width necessary to
   render the widest <code id=the-select-element-2:the-optgroup-element-4><a href=#the-optgroup-element>optgroup</a></code>, and the width necessary to render the widest

Modified: source
===================================================================
--- source	2014-12-03 21:48:44 UTC (rev 8870)
+++ source	2014-12-04 01:25:04 UTC (rev 8871)
@@ -14169,7 +14169,7 @@
      <td><code data-x="">set-cookie</code>
      <td>Non-conforming
     <tr>
-     <td><span data-x="attr-meta-http-x-ua-compatible">X-UA-Compatible</span>
+     <td><span data-x="attr-meta-http-equiv-x-ua-compatible">X-UA-Compatible</span>
      <td><code data-x="">x-ua-compatible</code>
      <td>
   </table>
@@ -14555,7 +14555,7 @@
     specifications.</p>
 
     <p>For <code>meta</code> elements with an <code data-x="attr-meta-http-equiv">http-equiv</code>
-    attribute in the <span data-x="attr-meta-http-x-ua-compatible">X-UA-Compatible state</span>, the
+    attribute in the <span data-x="attr-meta-http-equiv-x-ua-compatible">X-UA-Compatible state</span>, the
     <code data-x="attr-meta-content">content</code> attribute must have the value "<code
     data-x="">IE=edge</code>".</p>
 
@@ -49336,9 +49336,11 @@
   <span>reflect</span> the content attribute of the same name. The <dfn><code data-x="dom-option-defaultSelected">defaultSelected</code></dfn> IDL attribute must
   <span>reflect</span> the <code data-x="attr-option-selected">selected</code> content attribute.</p>
 
-  <p>The <dfn><code data-x="dom-option-label">label</code></dfn> IDL attribute, on getting, must
-  return the element's <span data-x="concept-option-label">label</span>. On setting, the element's
-  <code data-x="attr-option-label">label</code> content attribute must be set to the new value.</p>
+  <p>The <dfn><code data-x="dom-option-label">label</code></dfn> IDL attribute, on getting, if there
+  is a <code data-x="attr-option-label">label</code> content attribute, must return that attribute's
+  value; otherwise, it must return the element's <span data-x="concept-option-label">label</span>.
+  On setting, the element's <code data-x="attr-option-label">label</code> content attribute must be
+  set to the new value.</p>
 
   <p>The <dfn><code data-x="dom-option-value">value</code></dfn> IDL attribute, on getting, must
   return the element's <span data-x="concept-option-value">value</span>. On setting, the element's



More information about the Commit-Watchers mailing list