Skip to content
Permalink
Browse files
[cgo] (2) Drop 'usemap' from <input>. It's (very) rarely used, and wh…
…en it is used, not supporting it usually results in a better experience. It's not widely supported (only Gecko and Opera support it).

git-svn-id: http://svn.whatwg.org/webapps@997 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 10, 2007
1 parent 287cc98 commit 0368ea95e9809d06efd1d55b90d1be5ce31b77f9
Showing with 34 additions and 49 deletions.
  1. +16 −24 index
  2. +18 −25 source
40 index
@@ -16542,10 +16542,9 @@ notes on what would need to be defined for dashed lines:
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 @@ notes on what would need to be defined for dashed lines:
<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 @@ notes on what would need to be defined for dashed lines:
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 @@ notes on what would need to be defined for dashed lines:
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 @@ notes on what would need to be defined for dashed lines:

<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
43 source
@@ -14227,9 +14227,9 @@ notes on what would need to be defined for dashed lines:
<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 @@ notes on what would need to be defined for dashed lines:
<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>

<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
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 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 @@ notes on what would need to be defined for dashed lines:
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 @@ notes on what would need to be defined for dashed lines:
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 @@ notes on what would need to be defined for dashed lines:

<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

0 comments on commit 0368ea9

Please sign in to comment.