Skip to content

Commit

Permalink
[giow] (3) Allow <select multiple> and <select size=4> to be used as …
Browse files Browse the repository at this point in the history
…canvas fallback

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24749
Affected topics: Canvas

git-svn-id: http://svn.whatwg.org/webapps@8484 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 20, 2014
1 parent 066b498 commit 66daa40
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
8 changes: 6 additions & 2 deletions complete.html
Expand Up @@ -53924,7 +53924,7 @@ <h4 id=the-canvas-element><span class=secno>4.12.4 </span>The <dfn id=canvas><co
<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, and <code><a href=#the-input-element>input</a></code> elements that are <a href=#concept-button title=concept-button>buttons</a>.</dd> <!-- and maybe <select>, I guess? I've left it our for now, since I guess authors might make accessible selects if they're simple enough, and it's not obvious how to distinguish the simple ones from the complex ones... -->
<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>
<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>
Expand Down Expand Up @@ -58607,7 +58607,11 @@ <h6 id=hit-regions><span class=secno>4.12.4.2.15 </span>Hit regions</h6>
<li>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control>control</code> member is not null but is neither an
<code><a href=#the-a-element>a</a></code> element that <a href=#represents>represents</a> a <a href=#hyperlink>hyperlink</a>, a
<code><a href=#the-button-element>button</a></code> element, an <code><a href=#the-input-element>input</a></code> element whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in one of 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, nor an <code><a href=#the-input-element>input</a></code> element that is a <a href=#concept-button title=concept-button>button</a>.</li>
Button</a> states, an <code><a href=#the-input-element>input</a></code> element that is a <a href=#concept-button title=concept-button>button</a>, 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, nor 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 no <code title=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code>
attribute and with a <a href=#concept-select-size title=concept-select-size>display size</a> equal to
1.</li>

<li>The <var title="">parent region</var> is not null but has a <a href="#hit-region's-control" title="hit region's
control">control</a>.</li>
Expand Down
8 changes: 6 additions & 2 deletions index
Expand Up @@ -53924,7 +53924,7 @@ not-slash = %x0000-002E / %x0030-10FFFF
<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, and <code><a href=#the-input-element>input</a></code> elements that are <a href=#concept-button title=concept-button>buttons</a>.</dd> <!-- and maybe <select>, I guess? I've left it our for now, since I guess authors might make accessible selects if they're simple enough, and it's not obvious how to distinguish the simple ones from the complex ones... -->
<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>
<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>
Expand Down Expand Up @@ -58607,7 +58607,11 @@ v6DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex
<li>The <var title="">arguments</var> object's <code title=dom-HitRegionOptions-control>control</code> member is not null but is neither an
<code><a href=#the-a-element>a</a></code> element that <a href=#represents>represents</a> a <a href=#hyperlink>hyperlink</a>, a
<code><a href=#the-button-element>button</a></code> element, an <code><a href=#the-input-element>input</a></code> element whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in one of 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, nor an <code><a href=#the-input-element>input</a></code> element that is a <a href=#concept-button title=concept-button>button</a>.</li>
Button</a> states, an <code><a href=#the-input-element>input</a></code> element that is a <a href=#concept-button title=concept-button>button</a>, 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, nor 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 no <code title=attr-select-multiple><a href=#attr-select-multiple>multiple</a></code>
attribute and with a <a href=#concept-select-size title=concept-select-size>display size</a> equal to
1.</li>

<li>The <var title="">parent region</var> is not null but has a <a href="#hit-region's-control" title="hit region's
control">control</a>.</li>
Expand Down
12 changes: 9 additions & 3 deletions source
Expand Up @@ -59659,7 +59659,7 @@ not-slash = %x0000-002E / %x0030-10FFFF
<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, and <code>input</code> elements that are <span data-x="concept-button">buttons</span>.</dd> <!-- and maybe <select>, I guess? I've left it our for now, since I guess authors might make accessible selects if they're simple enough, and it's not obvious how to distinguish the simple ones from the complex ones... -->
<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>
<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>
Expand Down Expand Up @@ -65226,8 +65226,14 @@ v6DVT (also check for '- -' bits in the part above) -->
<code>button</code> element, an <code>input</code> element whose <code
data-x="attr-input-type">type</code> attribute is in one of the <span
data-x="attr-input-type-checkbox">Checkbox</span> or <span data-x="attr-input-type-radio">Radio
Button</span> states, nor an <code>input</code> element that is a <span
data-x="concept-button">button</span>.</li>
Button</span> states, an <code>input</code> element that is a <span
data-x="concept-button">button</span>, a <code>select</code> element 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, nor an <code>option</code>
element that is in a <span data-x="concept-select-option-list">list of options</span> of a
<code>select</code> element with no <code data-x="attr-select-multiple">multiple</code>
attribute and with a <span data-x="concept-select-size">display size</span> equal to
1.</li>

<li>The <var data-x="">parent region</var> is not null but has a <span data-x="hit region's
control">control</span>.</li>
Expand Down

0 comments on commit 66daa40

Please sign in to comment.