HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/2145

File a bug

SVNBugCommentTime (UTC)
2145WF2: <button> element summary, fixes to <input> to correct copy/paste mistakes.2008-09-03 11:05
Index: source
===================================================================
--- source	(revision 2144)
+++ source	(revision 2145)
@@ -23963,14 +23963,14 @@
 
   <dl class="element">
    <dt>Categories</dt>
-   <dd><span>Flow content</span>.</dd>
+   <dd><span>Phrasing content</span>.</dd>
+   <dd><span>Interactive content</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
-   <dd>Where <span>flow content</span> is expected.</dd>
+   <dd>Where <span>phrasing content</span> is expected.</dd>
    <dt>Content model:</dt>
-   <dd><span>Flow content</span>.</dd>
+   <dd>Empty.</dd>
    <dt>Element-specific attributes:</dt>
    <dd><code title="attr-input-accept">accept</code></dd>
-   <dd><code title="attr-input-accesskey">accesskey</code></dd>
    <dd><code title="attr-input-action">action</code></dd>
    <dd><code title="attr-input-alt">alt</code></dd>
    <dd><code title="attr-input-autocomplete">autocomplete</code></dd>
@@ -23998,11 +23998,8 @@
    <dt>DOM interface:</dt>
    <dd>
 <pre class="idl">interface <dfn>HTMLInputElement</dfn> : <span>HTMLElement</span> {
-
            attribute DOMString <span title="dom-input-accept">accept</span>;
-           attribute DOMString <span title="dom-input-accessKey">accessKey</span>;
            attribute DOMString <span title="dom-input-action">action</span>;
-           attribute DOMString <span title="dom-input-align">align</span>;
            attribute DOMString <span title="dom-input-alt">alt</span>;
            attribute boolean <span title="dom-input-autocomplete">autocomplete</span>;
            attribute boolean <span title="dom-input-autofocus">autofocus</span>;
@@ -24034,10 +24031,7 @@
 
   readonly attribute HTMLCollection <span title="dom-input-labels">labels</span>;
 
-  void <span title="dom-input-blur">blur</span>();
-  void <span title="dom-input-focus">focus</span>();
   void <span title="dom-input-select">select</span>();
-  void <span title="dom-input-click">click</span>();
   void <span title="dom-input-stepUp">stepUp</span>(in int n);
   void <span title="dom-input-stepDown">stepDown</span>(in int n);
 
@@ -24058,8 +24052,56 @@
   <p class="big-issue">...</p>
 
 
-  <h4>The <code>button</code> element</h4>
+  <h4>The <dfn><code>button</code></dfn> element</h4>
 
+  <dl class="element">
+   <dt>Categories</dt>
+   <dd><span>Phrasing content</span>.</dd>
+   <dd><span>Interactive content</span>.</dd>
+   <dt>Contexts in which this element may be used:</dt>
+   <dd>Where <span>phrasing content</span> is expected.</dd>
+   <dt>Content model:</dt>
+   <dd><span>Phrasing content</span>.</dd>
+   <dt>Element-specific attributes:</dt>
+   <dd><code title="attr-button-action">action</code></dd>
+   <dd><code title="attr-button-autofocus">autofocus</code></dd>
+   <dd><code title="attr-button-disabled">disabled</code></dd>
+   <dd><code title="attr-button-enctype">enctype</code></dd>
+   <dd><code title="attr-button-form">form</code></dd>
+   <dd><code title="attr-button-method">method</code></dd>
+   <dd><code title="attr-button-name">name</code></dd>
+   <dd><code title="attr-button-target">target</code></dd>
+   <dd><code title="attr-button-type">type</code></dd>
+   <dd><code title="attr-button-value">value</code></dd>
+   <dt>DOM interface:</dt>
+   <dd>
+<pre class="idl">interface <dfn>HTMLButtonElement</dfn> : <span>HTMLElement</span> {
+           attribute DOMString <span title="dom-button-action">action</span>;
+           attribute boolean <span title="dom-button-autofocus">autofocus</span>;
+           attribute boolean <span title="dom-button-disabled">disabled</span>;
+           attribute DOMString <span title="dom-button-enctype">enctype</span>;
+  readonly attribute HTMLFormElement <span title="dom-button-form">form</span>;
+           attribute DOMString <span title="dom-button-method">method</span>;
+           attribute DOMString <span title="dom-button-name">name</span>;
+           attribute boolean <span title="dom-button-required">required</span>;
+           attribute DOMString <span title="dom-button-target">target</span>;
+           attribute DOMString <span title="dom-button-type">type</span>;
+           attribute DOMString <span title="dom-button-value">value</span>;
+
+  readonly attribute HTMLCollection <span title="dom-button-labels">labels</span>;
+
+  readonly attribute boolean <span title="dom-button-willValidate">willValidate</span>;
+  readonly attribute <span>ValidityState</span> <span title="dom-button-validity">validity</span>;
+  readonly attribute DOMString <span title="dom-button-validationMessage">validationMessage</span>;
+  boolean <span title="dom-button-checkValidatity">checkValidity</span>();
+  void <span title="dom-button-setCustomValidity">setCustomValidity</span>(in DOMString error);
+};</pre>
+   </dd> 
+  </dl>
+
+  <p class="big-issue">...</p>
+
+
   <h4>The <code>label</code> element</h4>
 
   <h4>The <code>select</code> element</h4>

|