[html5] r8491 - [cgiow] (1) Allow addHitRegion() to be used with elements that are only focusabl [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Feb 20 15:33:24 PST 2014


Author: ianh
Date: 2014-02-20 15:33:23 -0800 (Thu, 20 Feb 2014)
New Revision: 8491

Modified:
   complete.html
   index
   source
Log:
[cgiow] (1) Allow addHitRegion() to be used with elements that are only focusable because of tabindex='' or sortable='' (since they're basically just buttons at that point)
Affected topics: Canvas

Modified: complete.html
===================================================================
--- complete.html	2014-02-20 23:30:30 UTC (rev 8490)
+++ complete.html	2014-02-20 23:33:23 UTC (rev 8491)
@@ -53936,7 +53936,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>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>, and <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.</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-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-inter
 face-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>
@@ -58640,6 +58640,12 @@
        <li><p>an <code><a href=#the-option-element>option</a></code> element that is in a <a href=#concept-select-option-list title=concept-select-option-list>list of options</a> of a <code><a href=#the-select-element>select</a></code> element
        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</li>
 
+       <li><p><a href=#sorting-interface-th-element title="sorting interface th element">sorting interface <code>th</code>
+       elements</a></li>
+
+       <li><p>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</li>
+
       </ul></li>
 
      <li><p>The <var title="">parent region</var> is not null but has a <a href="#hit-region's-control" title="hit region's

Modified: index
===================================================================
--- index	2014-02-20 23:30:30 UTC (rev 8490)
+++ index	2014-02-20 23:33:23 UTC (rev 8491)
@@ -53936,7 +53936,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>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>, and <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.</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-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-inter
 face-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>
@@ -58640,6 +58640,12 @@
        <li><p>an <code><a href=#the-option-element>option</a></code> element that is in a <a href=#concept-select-option-list title=concept-select-option-list>list of options</a> of a <code><a href=#the-select-element>select</a></code> element
        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</li>
 
+       <li><p><a href=#sorting-interface-th-element title="sorting interface th element">sorting interface <code>th</code>
+       elements</a></li>
+
+       <li><p>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</li>
+
       </ul></li>
 
      <li><p>The <var title="">parent region</var> is not null but has a <a href="#hit-region's-control" title="hit region's

Modified: source
===================================================================
--- source	2014-02-20 23:30:30 UTC (rev 8490)
+++ source	2014-02-20 23:33:23 UTC (rev 8491)
@@ -59671,7 +59671,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>, and <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.</dd>
+   <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>, <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>
@@ -65265,6 +65265,12 @@
        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</p></li>
 
+       <li><p><span data-x="sorting interface th element">sorting interface <code>th</code>
+       elements</span></p></li>
+
+       <li><p>elements that would not be <span>interactive content</span> except for having the
+       <code data-x="attr-tabindex">tabindex</code> attribute specified</p></li>
+
       </ul>
 
      </li>




More information about the Commit-Watchers mailing list