[html5] r3844 - [e] (0) clarify applies table

whatwg at whatwg.org whatwg at whatwg.org
Mon Sep 14 04:03:34 PDT 2009


Author: ianh
Date: 2009-09-14 04:03:33 -0700 (Mon, 14 Sep 2009)
New Revision: 3844

Modified:
   index
   source
Log:
[e] (0) clarify applies table

Modified: index
===================================================================
--- index	2009-09-14 10:33:08 UTC (rev 3843)
+++ index	2009-09-14 11:03:33 UTC (rev 3844)
@@ -1,7 +1,6 @@
 <!DOCTYPE html><html lang=en-US-x-hixie><title>HTML5</title><link href=/style/specification rel=stylesheet><link href=/images/icon rel=icon><style>
    .proposal { border: blue solid; padding: 1em; }
    .bad, .bad *:not(.XXX) { color: gray; border-color: gray; background: transparent; }
-   .applies th > * { display: block; }
    #updatesStatus { display: none; }
    #updatesStatus.relevant { display: block; position: fixed; right: 1em; top: 1em; padding: 0.5em; font: bold small sans-serif; min-width: 25em; width: 30%; max-width: 40em; height: auto; border: ridge 4px gray; background: #EEEEEE; color: black; }
    div.head .logo { width: 11em; margin-bottom: 20em; }
@@ -21,6 +20,12 @@
    [hidden] { display: none; }
   </style><style type=text/css>
 
+   .applies thead th > * { display: block; }
+   .applies thead code { display: block; }
+   .applies tbody th { whitespace: nowrap; }
+   .applies td { text-align: center; }
+   .applies .yes { background: yellow; }
+
    .matrix, .matrix td { border: none; text-align: right; }
    .matrix { margin-left: 2em; }
 
@@ -31017,7 +31022,7 @@
   specific to certain states. The following table <span class=impl>is non-normative and</span> summarizes which content
   attributes, IDL attributes, and methods apply to each state:</p>
 
-  <table class=applies id=input-type-attr-summary><thead><tr><td>
+  <table class=applies id=input-type-attr-summary><thead><tr><th>
      <th> <span title=""><a href=#hidden-state title=attr-input-type-hidden>Hidden</a></span>
      <th> <span title=""><a href=#text-state-and-search-state title=attr-input-type-text>Text</a>,</span>
           <span title=""><a href=#text-state-and-search-state title=attr-input-type-search>Search</a>,</span>
@@ -31594,7 +31599,7 @@
      <td class=no> · <!-- Reset Button -->
 <!-- <td class="no"> ·      Button -->
 
-   <tbody><tr><th> <code title=dom-input-checked><a href=#dom-input-checked>checked</a></code>
+   <tbody><tr><th> <code title=dom-input-files><a href=#dom-input-files>files</a></code>†
      <td class=no> · <!-- Hidden -->
      <td class=no> · <!-- Text -->
 <!-- <td class="no"> ·      Search -->
@@ -31610,30 +31615,6 @@
 <!-- <td class="no"> ·      Number -->
      <td class=no> · <!-- Range -->
      <td class=no> · <!-- Color -->
-     <td class=yes> Yes     <!-- Checkbox -->
-<!-- <td class="yes"> Yes          Radio Button -->
-     <td class=no> · <!-- File Upload -->
-     <td class=no> · <!-- Submit Button -->
-     <td class=no> · <!-- Image Button -->
-     <td class=no> · <!-- Reset Button -->
-<!-- <td class="no"> ·      Button -->
-
-    <tr><th> <code title=dom-input-files><a href=#dom-input-files>files</a></code>
-     <td class=no> · <!-- Hidden -->
-     <td class=no> · <!-- Text -->
-<!-- <td class="no"> ·      Search -->
-<!-- <td class="no"> ·      URL -->
-     <td class=no> · <!-- E-mail -->
-     <td class=no> · <!-- Password -->
-     <td class=no> · <!-- Date and Time -->
-<!-- <td class="no"> ·      Date -->
-<!-- <td class="no"> ·      Month -->
-<!-- <td class="no"> ·      Week -->
-<!-- <td class="no"> ·      Time -->
-     <td class=no> · <!-- Local Date and Time -->
-<!-- <td class="no"> ·      Number -->
-     <td class=no> · <!-- Range -->
-     <td class=no> · <!-- Color -->
      <td class=no> · <!-- Checkbox -->
 <!-- <td class="no"> ·      Radio Button -->
      <td class=yes> Yes     <!-- File Upload -->
@@ -31642,7 +31623,7 @@
      <td class=no> · <!-- Reset Button -->
 <!-- <td class="no"> ·      Button -->
 
-    <tr class=impl><th> <code title=dom-input-value><a href=#dom-input-value>value</a></code>
+    <tr class=impl><th> <code title=dom-input-value><a href=#dom-input-value>value</a></code>†
      <td class=yes> <a href=#dom-input-value-value title=dom-input-value-value>value</a> <!-- Hidden -->
      <td class=yes> <a href=#dom-input-value-value title=dom-input-value-value>value</a> <!-- Text -->
 <!-- <td class="yes"> <span title="dom-input-value-value">value</span>      Search -->
@@ -31666,7 +31647,7 @@
      <td class=yes> <a href=#dom-input-value-default title=dom-input-value-default>default</a> <!-- Reset Button -->
 <!-- <td class="yes"> <span title="dom-input-value-default">default</span>      Button -->
 
-    <tr><th> <code title=dom-input-valueAsDate><a href=#dom-input-valueasdate>valueAsDate</a></code>
+    <tr><th> <code title=dom-input-valueAsDate><a href=#dom-input-valueasdate>valueAsDate</a></code>†
      <td class=no> · <!-- Hidden -->
      <td class=no> · <!-- Text -->
 <!-- <td class="no"> ·      Search -->
@@ -31690,7 +31671,7 @@
      <td class=no> · <!-- Reset Button -->
 <!-- <td class="no"> ·      Button -->
 
-    <tr><th> <code title=dom-input-valueAsNumber><a href=#dom-input-valueasnumber>valueAsNumber</a></code>
+    <tr><th> <code title=dom-input-valueAsNumber><a href=#dom-input-valueasnumber>valueAsNumber</a></code>†
      <td class=no> · <!-- Hidden -->
      <td class=no> · <!-- Text -->
 <!-- <td class="no"> ·      Search -->
@@ -31714,7 +31695,7 @@
      <td class=no> · <!-- Reset Button -->
 <!-- <td class="no"> ·      Button -->
 
-    <tr><th> <code title=dom-input-list><a href=#dom-input-list>list</a></code>
+    <tr><th> <code title=dom-input-list><a href=#dom-input-list>list</a></code>†
      <td class=no> · <!-- Hidden -->
      <td class=yes> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
@@ -31738,7 +31719,7 @@
      <td class=no> · <!-- Reset Button -->
 <!-- <td class="no"> ·      Button -->
 
-    <tr><th> <code title=dom-input-selectedOption><a href=#dom-input-selectedoption>selectedOption</a></code>
+    <tr><th> <code title=dom-input-selectedOption><a href=#dom-input-selectedoption>selectedOption</a></code>†
      <td class=no> · <!-- Hidden -->
      <td class=yes> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
@@ -31786,7 +31767,7 @@
      <td class=no> · <!-- Reset Button -->
 <!-- <td class="no"> ·      Button -->
 
-    <tr><th> <code title=dom-textarea/input-selectionStart><a href=#dom-textarea/input-selectionstart>selectionStart</a></code>
+    <tr><th> <code title=dom-textarea/input-selectionStart><a href=#dom-textarea/input-selectionstart>selectionStart</a></code>†
      <td class=no> · <!-- Hidden -->
      <td class=yes> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
@@ -31810,7 +31791,7 @@
      <td class=no> · <!-- Reset Button -->
 <!-- <td class="no"> ·      Button -->
 
-    <tr><th> <code title=dom-textarea/input-selectionEnd><a href=#dom-textarea/input-selectionend>selectionEnd</a></code>
+    <tr><th> <code title=dom-textarea/input-selectionEnd><a href=#dom-textarea/input-selectionend>selectionEnd</a></code>†
      <td class=no> · <!-- Hidden -->
      <td class=yes> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
@@ -31954,8 +31935,10 @@
      <td class=no> · <!-- Reset Button -->
 <!-- <td class="no"> ·      Button -->
 
-  </table><div class=impl>
+  </table><p>† indicates IDL attributes.</p>
 
+  <div class=impl>
+
   <p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute changes state, and
   when the element is first created, the element's rendering and
   behavior must change to the new state's accordingly and the

Modified: source
===================================================================
--- source	2009-09-14 10:33:08 UTC (rev 3843)
+++ source	2009-09-14 11:03:33 UTC (rev 3844)
@@ -34456,7 +34456,7 @@
   <table class="applies" id="input-type-attr-summary">
    <thead>
     <tr>
-     <td>
+     <th>
      <th> <span title=""><span title="attr-input-type-hidden">Hidden</span></span>
      <th> <span title=""><span title="attr-input-type-text">Text</span>,</span>
           <span title=""><span title="attr-input-type-search">Search</span>,</span>
@@ -35060,7 +35060,7 @@
    <tbody>
 
     <tr>
-     <th> <code title="dom-input-checked">checked</code>
+     <th> <code title="dom-input-files">files</code>†
      <td class="no"> · <!-- Hidden -->
      <td class="no"> · <!-- Text -->
 <!-- <td class="no"> ·      Search -->
@@ -35076,31 +35076,6 @@
 <!-- <td class="no"> ·      Number -->
      <td class="no"> · <!-- Range -->
      <td class="no"> · <!-- Color -->
-     <td class="yes"> Yes     <!-- Checkbox -->
-<!-- <td class="yes"> Yes          Radio Button -->
-     <td class="no"> · <!-- File Upload -->
-     <td class="no"> · <!-- Submit Button -->
-     <td class="no"> · <!-- Image Button -->
-     <td class="no"> · <!-- Reset Button -->
-<!-- <td class="no"> ·      Button -->
-
-    <tr>
-     <th> <code title="dom-input-files">files</code>
-     <td class="no"> · <!-- Hidden -->
-     <td class="no"> · <!-- Text -->
-<!-- <td class="no"> ·      Search -->
-<!-- <td class="no"> ·      URL -->
-     <td class="no"> · <!-- E-mail -->
-     <td class="no"> · <!-- Password -->
-     <td class="no"> · <!-- Date and Time -->
-<!-- <td class="no"> ·      Date -->
-<!-- <td class="no"> ·      Month -->
-<!-- <td class="no"> ·      Week -->
-<!-- <td class="no"> ·      Time -->
-     <td class="no"> · <!-- Local Date and Time -->
-<!-- <td class="no"> ·      Number -->
-     <td class="no"> · <!-- Range -->
-     <td class="no"> · <!-- Color -->
      <td class="no"> · <!-- Checkbox -->
 <!-- <td class="no"> ·      Radio Button -->
      <td class="yes"> Yes     <!-- File Upload -->
@@ -35110,7 +35085,7 @@
 <!-- <td class="no"> ·      Button -->
 
     <tr class="impl">
-     <th> <code title="dom-input-value">value</code>
+     <th> <code title="dom-input-value">value</code>†
      <td class="yes"> <span title="dom-input-value-value">value</span> <!-- Hidden -->
      <td class="yes"> <span title="dom-input-value-value">value</span> <!-- Text -->
 <!-- <td class="yes"> <span title="dom-input-value-value">value</span>      Search -->
@@ -35135,7 +35110,7 @@
 <!-- <td class="yes"> <span title="dom-input-value-default">default</span>      Button -->
 
     <tr>
-     <th> <code title="dom-input-valueAsDate">valueAsDate</code>
+     <th> <code title="dom-input-valueAsDate">valueAsDate</code>†
      <td class="no"> · <!-- Hidden -->
      <td class="no"> · <!-- Text -->
 <!-- <td class="no"> ·      Search -->
@@ -35160,7 +35135,7 @@
 <!-- <td class="no"> ·      Button -->
 
     <tr>
-     <th> <code title="dom-input-valueAsNumber">valueAsNumber</code>
+     <th> <code title="dom-input-valueAsNumber">valueAsNumber</code>†
      <td class="no"> · <!-- Hidden -->
      <td class="no"> · <!-- Text -->
 <!-- <td class="no"> ·      Search -->
@@ -35185,7 +35160,7 @@
 <!-- <td class="no"> ·      Button -->
 
     <tr>
-     <th> <code title="dom-input-list">list</code>
+     <th> <code title="dom-input-list">list</code>†
      <td class="no"> · <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
@@ -35210,7 +35185,7 @@
 <!-- <td class="no"> ·      Button -->
 
     <tr>
-     <th> <code title="dom-input-selectedOption">selectedOption</code>
+     <th> <code title="dom-input-selectedOption">selectedOption</code>†
      <td class="no"> · <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
@@ -35260,7 +35235,7 @@
 <!-- <td class="no"> ·      Button -->
 
     <tr>
-     <th> <code title="dom-textarea/input-selectionStart">selectionStart</code>
+     <th> <code title="dom-textarea/input-selectionStart">selectionStart</code>†
      <td class="no"> · <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
@@ -35285,7 +35260,7 @@
 <!-- <td class="no"> ·      Button -->
 
     <tr>
-     <th> <code title="dom-textarea/input-selectionEnd">selectionEnd</code>
+     <th> <code title="dom-textarea/input-selectionEnd">selectionEnd</code>†
      <td class="no"> · <!-- Hidden -->
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
@@ -35436,6 +35411,8 @@
 
   </table>
 
+  <p>† indicates IDL attributes.</p>
+
   <div class="impl">
 
   <p>When an <code>input</code> element's <code




More information about the Commit-Watchers mailing list