[html5] r8548 - [c] (1) Allow <img>-based and <input>-based image maps as canvas fallback (hit r [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Mar 17 13:08:10 PDT 2014


Author: ianh
Date: 2014-03-17 13:08:10 -0700 (Mon, 17 Mar 2014)
New Revision: 8548

Modified:
   complete.html
   index
   source
Log:
[c] (1) Allow <img>-based and <input>-based image maps as canvas fallback (hit regions excludes those separately)
Affected topics: Canvas

Modified: complete.html
===================================================================
--- complete.html	2014-03-17 19:39:14 UTC (rev 8547)
+++ complete.html	2014-03-17 20:08:10 UTC (rev 8548)
@@ -54007,7 +54007,7 @@
    <dt><a href=#element-dfn-contexts title=element-dfn-contexts>Contexts in which this element can be used</a>:</dt>
    <dd>Where <a href=#embedded-content-category>embedded content</a> is expected.</dd>
    <dt><a href=#element-dfn-content-model title=element-dfn-content-model>Content model</a>:</dt>
-   <dd><a href=#transparent>Transparent</a>, but with no <a href=#interactive-content>interactive content</a> descendants except for <code><a href=#the-a-element>a</a></code> elements, <code><a href=#the-button-element>button</a></code> elements, <code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute are in the <a href="#checkbox-state-(type=checkbox)" title=attr-input-type-checkbox>Checkbox</a> or <a href="#radio-button-state-(type=radio)" title=attr-input-type-radio>Radio Button</a> states, <code><a href=#the-input-element>input</a></code> elements that are <a href=#concept-button title=concept-button>buttons</a> but whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute are not in the <a href="#image-button-state-(type=image)" title=attr-input-type-image>Image Button</a> state, <code><a href=#the-select-element>select</a></code> elements with a <code titl
 e=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code> attribute or a <a href=#concept-select-size title=concept-select-size>display size</a> greater than 1, <a href=#sorting-interface-th-element title="sorting interface th element">sorting interface <code>th</code> elements</a>, and elements that would not be <a href=#interactive-content>interactive content</a> except for having the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute specified.</dd>
+   <dd><a href=#transparent>Transparent</a>, but with no <a href=#interactive-content>interactive content</a> descendants except for <code><a href=#the-a-element>a</a></code> elements, <code><a href=#the-img-element>img</a></code> elements with <code title=attr-hyperlink-usemap><a href=#attr-hyperlink-usemap>usemap</a></code> attributes, <code><a href=#the-button-element>button</a></code> elements, <code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute are in the <a href="#checkbox-state-(type=checkbox)" title=attr-input-type-checkbox>Checkbox</a> or <a href="#radio-button-state-(type=radio)" title=attr-input-type-radio>Radio Button</a> states, <code><a href=#the-input-element>input</a></code> elements that are <a href=#concept-button title=concept-button>buttons</a>, <code><a href=#the-select-element>select</a></code> elements with a <code title=attr-select-multiple><a href=#attr-select
 -multiple>multiple</a></code> attribute or a <a href=#concept-select-size title=concept-select-size>display size</a> greater than 1, <a href=#sorting-interface-th-element title="sorting interface th element">sorting interface <code>th</code> elements</a>, and elements that would not be <a href=#interactive-content>interactive content</a> except for having the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute specified.</dd>
    <dt><a href=#element-dfn-tag-omission title=element-dfn-tag-omission>Tag omission in text/html</a>:</dt>
    <dd>Neither tag is omissible.</dd>
    <dt><a href=#element-dfn-attributes title=element-dfn-attributes>Content attributes</a>:</dt>

Modified: index
===================================================================
--- index	2014-03-17 19:39:14 UTC (rev 8547)
+++ index	2014-03-17 20:08:10 UTC (rev 8548)
@@ -54007,7 +54007,7 @@
    <dt><a href=#element-dfn-contexts title=element-dfn-contexts>Contexts in which this element can be used</a>:</dt>
    <dd>Where <a href=#embedded-content-category>embedded content</a> is expected.</dd>
    <dt><a href=#element-dfn-content-model title=element-dfn-content-model>Content model</a>:</dt>
-   <dd><a href=#transparent>Transparent</a>, but with no <a href=#interactive-content>interactive content</a> descendants except for <code><a href=#the-a-element>a</a></code> elements, <code><a href=#the-button-element>button</a></code> elements, <code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute are in the <a href="#checkbox-state-(type=checkbox)" title=attr-input-type-checkbox>Checkbox</a> or <a href="#radio-button-state-(type=radio)" title=attr-input-type-radio>Radio Button</a> states, <code><a href=#the-input-element>input</a></code> elements that are <a href=#concept-button title=concept-button>buttons</a> but whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute are not in the <a href="#image-button-state-(type=image)" title=attr-input-type-image>Image Button</a> state, <code><a href=#the-select-element>select</a></code> elements with a <code titl
 e=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code> attribute or a <a href=#concept-select-size title=concept-select-size>display size</a> greater than 1, <a href=#sorting-interface-th-element title="sorting interface th element">sorting interface <code>th</code> elements</a>, and elements that would not be <a href=#interactive-content>interactive content</a> except for having the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute specified.</dd>
+   <dd><a href=#transparent>Transparent</a>, but with no <a href=#interactive-content>interactive content</a> descendants except for <code><a href=#the-a-element>a</a></code> elements, <code><a href=#the-img-element>img</a></code> elements with <code title=attr-hyperlink-usemap><a href=#attr-hyperlink-usemap>usemap</a></code> attributes, <code><a href=#the-button-element>button</a></code> elements, <code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute are in the <a href="#checkbox-state-(type=checkbox)" title=attr-input-type-checkbox>Checkbox</a> or <a href="#radio-button-state-(type=radio)" title=attr-input-type-radio>Radio Button</a> states, <code><a href=#the-input-element>input</a></code> elements that are <a href=#concept-button title=concept-button>buttons</a>, <code><a href=#the-select-element>select</a></code> elements with a <code title=attr-select-multiple><a href=#attr-select
 -multiple>multiple</a></code> attribute or a <a href=#concept-select-size title=concept-select-size>display size</a> greater than 1, <a href=#sorting-interface-th-element title="sorting interface th element">sorting interface <code>th</code> elements</a>, and elements that would not be <a href=#interactive-content>interactive content</a> except for having the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute specified.</dd>
    <dt><a href=#element-dfn-tag-omission title=element-dfn-tag-omission>Tag omission in text/html</a>:</dt>
    <dd>Neither tag is omissible.</dd>
    <dt><a href=#element-dfn-attributes title=element-dfn-attributes>Content attributes</a>:</dt>

Modified: source
===================================================================
--- source	2014-03-17 19:39:14 UTC (rev 8547)
+++ source	2014-03-17 20:08:10 UTC (rev 8548)
@@ -59767,7 +59767,7 @@
    <dt><span data-x="element-dfn-contexts">Contexts in which this element can be used</span>:</dt>
    <dd>Where <span>embedded content</span> is expected.</dd>
    <dt><span data-x="element-dfn-content-model">Content model</span>:</dt>
-   <dd><span>Transparent</span>, but with no <span>interactive content</span> descendants except for <code>a</code> elements, <code>button</code> elements, <code>input</code> elements whose <code data-x="attr-input-type">type</code> attribute are in the <span data-x="attr-input-type-checkbox">Checkbox</span> or <span data-x="attr-input-type-radio">Radio Button</span> states, <code>input</code> elements that are <span data-x="concept-button">buttons</span> but whose <code data-x="attr-input-type">type</code> attribute are not in the <span data-x="attr-input-type-image">Image Button</span> state, <code>select</code> elements with a <code data-x="attr-select-multiple">multiple</code> attribute or a <span data-x="concept-select-size">display size</span> greater than 1, <span data-x="sorting interface th element">sorting interface <code>th</code> elements</span>, and elements that would not be <span>interactive content</span> except for having the <code data-x="attr-tabindex">tab
 index</code> attribute specified.</dd>
+   <dd><span>Transparent</span>, but with no <span>interactive content</span> descendants except for <code>a</code> elements, <code>img</code> elements with <code data-x="attr-hyperlink-usemap">usemap</code> attributes, <code>button</code> elements, <code>input</code> elements whose <code data-x="attr-input-type">type</code> attribute are in the <span data-x="attr-input-type-checkbox">Checkbox</span> or <span data-x="attr-input-type-radio">Radio Button</span> states, <code>input</code> elements that are <span data-x="concept-button">buttons</span>, <code>select</code> elements with a <code data-x="attr-select-multiple">multiple</code> attribute or a <span data-x="concept-select-size">display size</span> greater than 1, <span data-x="sorting interface th element">sorting interface <code>th</code> elements</span>, and elements that would not be <span>interactive content</span> except for having the <code data-x="attr-tabindex">tabindex</code> attribute specified.</dd>
    <dt><span data-x="element-dfn-attributes">Content attributes</span>:</dt>
    <dd><span>Global attributes</span></dd>
    <dd><code data-x="attr-canvas-width">width</code></dd>




More information about the Commit-Watchers mailing list