[html5] r997 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu Aug 9 19:38:52 PDT 2007


Author: ianh
Date: 2007-08-09 19:38:45 -0700 (Thu, 09 Aug 2007)
New Revision: 997

Modified:
   index
   source
Log:
[cgo] (2) Drop 'usemap' from <input>. It's (very) rarely used, and when it is used, not supporting it usually results in a better experience. It's not widely supported (only Gecko and Opera support it).

Modified: index
===================================================================
--- index	2007-08-10 01:44:07 UTC (rev 996)
+++ index	2007-08-10 02:38:45 UTC (rev 997)
@@ -16542,10 +16542,9 @@
    attribute must return an <code><a
    href="#htmlcollection0">HTMLCollection</a></code> rooted at the
    <code>Document</code> node, whose filter matches only <code><a
-   href="#img">img</a></code>, <code>input</code> and <code><a
-   href="#object">object</a></code> elements that are associated with this
-   <code><a href="#map">map</a></code> element according to the <a
-   href="#image">image map</a> processing model.
+   href="#img">img</a></code> and <code><a href="#object">object</a></code>
+   elements that are associated with this <code><a href="#map">map</a></code>
+   element according to the <a href="#image">image map</a> processing model.
 
   <h4 id=the-area><span class=secno>3.14.13. </span>The <dfn
    id=area><code>area</code></dfn> element</h4>
@@ -16814,23 +16813,18 @@
   <p>An <dfn id=image>image map</dfn> allows geometric areas on an image to
    be associated with <a href="#hyperlinks" title=hyperlink>hyperlinks</a>.
 
-  <p>An image, in the form of an <code><a href="#img">img</a></code> element,
-   an <code>input</code> element whose <code
-   title=attr-input-type>type</code> attribute is in the <span
-   title=attr-input-type-image>Image state</span>, or an <code><a
-   href="#object">object</a></code> element representing an image, may be
-   associated with an image map (in the form of a <code><a
+  <p>An image, in the form of an <code><a href="#img">img</a></code> element
+   or an <code><a href="#object">object</a></code> element representing an
+   image, may be associated with an image map (in the form of a <code><a
    href="#map">map</a></code> element) by specifying a <dfn id=usemap1
    title=attr-hyperlink-usemap><code>usemap</code></dfn> attribute on the
-   <code><a href="#img">img</a></code>, <code>input</code>, or <code><a
+   <code><a href="#img">img</a></code> or <code><a
    href="#object">object</a></code> element. The <code
    title=attr-area-usemap>usemap</code> attribute, if specified, must be a <a
    href="#valid7">valid hashed ID reference</a> to a <code><a
    href="#map">map</a></code> element.
 
-  <p>If an <code><a href="#img">img</a></code> element, an <code>input</code>
-   element whose <code title=attr-input-type>type</code> attribute is in the
-   <span title=attr-input-type-image>Image state</span>, or an <code><a
+  <p>If an <code><a href="#img">img</a></code> element or an <code><a
    href="#object">object</a></code> element representing an image has a <code
    title=attr-area-usemap>usemap</code> attribute specified, user agents must
    process it as follows:
@@ -16856,14 +16850,14 @@
    interactive user agents must process the list in one of two ways.
 
   <p>If the user agent intends to show the text that the <code><a
-   href="#img">img</a></code> or <code>input</code> element represents, then
-   it must use the following steps.
+   href="#img">img</a></code> element represents, then it must use the
+   following steps.
 
   <p class=note>In user agents that do not support images, or that have
    images disabled, <code><a href="#object">object</a></code> elements cannot
    represent images, and thus this section never applies (the fallback
    content is shown instead). The following steps therefore only apply to
-   <code><a href="#img">img</a></code> and <code>input</code> elements.
+   <code><a href="#img">img</a></code> elements.
 
   <ol>
    <li>
@@ -16894,9 +16888,7 @@
      elements with no specified <code title="">alt</code> attributes, or
      whose <code title="">alt</code> attributes are the empty string or some
      other non-visible text, in a user-agent-defined fashion intended to
-     indicate the lack of suitable author-provided text. (This does not apply
-     to <code>input</code> elements as they have default <code
-     title=attr-input-alt>alt</code> text.)
+     indicate the lack of suitable author-provided text.
   </ol>
 
   <p>If the user agent intends to show the image and allow interaction with
@@ -17096,10 +17088,10 @@
 
   <p class=note>Because a <code><a href="#map">map</a></code> element (and
    its <code><a href="#area">area</a></code> elements) can be associated with
-   multiple <code><a href="#img">img</a></code>, <code>input</code>, and
-   <code><a href="#object">object</a></code> elements, it is possible for an
-   <code><a href="#area">area</a></code> element to correspond to multiple
-   focusable areas of the document.
+   multiple <code><a href="#img">img</a></code> and <code><a
+   href="#object">object</a></code> elements, it is possible for an <code><a
+   href="#area">area</a></code> element to correspond to multiple focusable
+   areas of the document.
 
   <p>Image maps are <em><a href="#live">live</a></em>; if the DOM is mutated,
    then the user agent must act as if it had rerun the algorithms for image

Modified: source
===================================================================
--- source	2007-08-10 01:44:07 UTC (rev 996)
+++ source	2007-08-10 02:38:45 UTC (rev 997)
@@ -14227,9 +14227,9 @@
   <p>The <dfn title="dom-map-images"><code>images</code></dfn>
   attribute must return an <code>HTMLCollection</code> rooted at the
   <code>Document</code> node, whose filter matches only
-  <code>img</code>, <code>input</code> and <code>object</code>
-  elements that are associated with this <code>map</code> element
-  according to the <span>image map</span> processing model.</p>
+  <code>img</code> and <code>object</code> elements that are
+  associated with this <code>map</code> element according to the
+  <span>image map</span> processing model.</p>
   
 
 
@@ -14459,23 +14459,18 @@
   <p>An <dfn>image map</dfn> allows geometric areas on an image to be
   associated with <span title="hyperlink">hyperlinks</span>.</p>
 
-  <p>An image, in the form of an <code>img</code> element, an
-  <code>input</code> element whose <code
-  title="attr-input-type">type</code> attribute is in the <span
-  title="attr-input-type-image">Image state</span>, or an
+  <p>An image, in the form of an <code>img</code> element or an
   <code>object</code> element representing an image, may be associated
   with an image map (in the form of a <code>map</code> element) by
   specifying a <dfn
   title="attr-hyperlink-usemap"><code>usemap</code></dfn> attribute on
-  the <code>img</code>, <code>input</code>, or <code>object</code>
-  element. The <code title="attr-area-usemap">usemap</code> attribute,
-  if specified, must be a <span>valid hashed ID reference</span> to a
-  <code>map</code> element.</p>
+  the <code>img</code> or <code>object</code> element. The <code
+  title="attr-area-usemap">usemap</code> attribute, if specified, must
+  be a <span>valid hashed ID reference</span> to a <code>map</code>
+  element.</p>
 
-  <p>If an <code>img</code> element, an <code>input</code> element
-  whose <code title="attr-input-type">type</code> attribute is in the
-  <span title="attr-input-type-image">Image state</span>, or an
-  <code>object</code> element representing an image has a <code
+  <p>If an <code>img</code> element or an <code>object</code> element
+  representing an image has a <code
   title="attr-area-usemap">usemap</code> attribute specified, user
   agents must process it as follows:</p>
 
@@ -14500,14 +14495,14 @@
   agents must process the list in one of two ways.</p>
 
   <p>If the user agent intends to show the text that the
-  <code>img</code> or <code>input</code> element represents, then it
-  must use the following steps.</p>
+  <code>img</code> element represents, then it must use the following
+  steps.</p>
 
   <p class="note">In user agents that do not support images, or that
   have images disabled, <code>object</code> elements cannot represent
   images, and thus this section never applies (the fallback content is
   shown instead). The following steps therefore only apply to
-  <code>img</code> and <code>input</code> elements.</p>
+  <code>img</code> elements.</p>
 
   <ol>
 
@@ -14535,9 +14530,7 @@
    title="">alt</code> attributes, or whose <code title="">alt</code>
    attributes are the empty string or some other non-visible text, in
    a user-agent-defined fashion intended to indicate the lack of
-   suitable author-provided text. (This does not apply to
-   <code>input</code> elements as they have default <code
-   title="attr-input-alt">alt</code> text.)</p></li>
+   suitable author-provided text.</p></li>
 
   </ol>
 
@@ -14729,9 +14722,9 @@
 
   <p class="note">Because a <code>map</code> element (and its
   <code>area</code> elements) can be associated with multiple
-  <code>img</code>, <code>input</code>, and <code>object</code>
-  elements, it is possible for an <code>area</code> element to
-  correspond to multiple focusable areas of the document.</p>
+  <code>img</code> and <code>object</code> elements, it is possible
+  for an <code>area</code> element to correspond to multiple focusable
+  areas of the document.</p>
 
   <p>Image maps are <em>live</em>; if the DOM is mutated, then the
   user agent must act as if it had rerun the algorithms for image




More information about the Commit-Watchers mailing list