Skip to content

Commit

Permalink
[t] (1) Allow <input type=button value> to be translated, since that …
Browse files Browse the repository at this point in the history
…value isn't submitted

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

git-svn-id: http://svn.whatwg.org/webapps@8311 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 22, 2013
1 parent 9547701 commit 1fea23c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion complete.html
Expand Up @@ -10698,7 +10698,9 @@ <h5 id=the-translate-attribute><span class=secno>3.2.5.4 </span>The <code title=
<li><code title=attr-iframe-srcdoc><a href=#attr-iframe-srcdoc>srcdoc</a></code> on <code><a href=#the-iframe-element>iframe</a></code> elements; must be parsed and recursively processed</li>
<li><code title=attr-style><a href=#the-style-attribute>style</a></code> on <a href=#html-elements>HTML elements</a>; must be parsed and recursively processed (e.g. for the values of 'content' properties)</li>
<li><code title=attr-title><a href=#attr-title>title</a></code> on all <a href=#html-elements>HTML elements</a></li>
<!-- <input value> is excluded since we can't predict if it interferes with server-side processing -->
<li><code title=attr-input-value><a href=#attr-input-value>value</a></code> on <code><a href=#the-input-element>input</a></code> elements with a
<code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href="#button-state-(type=button)" title=attr-input-type-button>Button</a> state</li>
<!-- <input value> on other types is excluded since we can't predict if it interferes with server-side processing -->
</ul><p>Other specifications may define other attributes that are also <a href=#translatable-attributes>translatable
attributes</a>. For example, ARIA would define the <code title=attr-aria-label>aria-label</code> attribute as translatable.</p>

Expand Down
4 changes: 3 additions & 1 deletion index
Expand Up @@ -10698,7 +10698,9 @@ Transport Protocol"&gt;HTTP&lt;/abbr&gt; today.&lt;/p&gt;</pre> <!-- DO NOT REWR
<li><code title=attr-iframe-srcdoc><a href=#attr-iframe-srcdoc>srcdoc</a></code> on <code><a href=#the-iframe-element>iframe</a></code> elements; must be parsed and recursively processed</li>
<li><code title=attr-style><a href=#the-style-attribute>style</a></code> on <a href=#html-elements>HTML elements</a>; must be parsed and recursively processed (e.g. for the values of 'content' properties)</li>
<li><code title=attr-title><a href=#attr-title>title</a></code> on all <a href=#html-elements>HTML elements</a></li>
<!-- <input value> is excluded since we can't predict if it interferes with server-side processing -->
<li><code title=attr-input-value><a href=#attr-input-value>value</a></code> on <code><a href=#the-input-element>input</a></code> elements with a
<code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute in the <a href="#button-state-(type=button)" title=attr-input-type-button>Button</a> state</li>
<!-- <input value> on other types is excluded since we can't predict if it interferes with server-side processing -->
</ul><p>Other specifications may define other attributes that are also <a href=#translatable-attributes>translatable
attributes</a>. For example, ARIA would define the <code title=attr-aria-label>aria-label</code> attribute as translatable.</p>

Expand Down
4 changes: 3 additions & 1 deletion source
Expand Up @@ -10613,7 +10613,9 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre> <!-- DO NOT REWRAP THIS L
<li><code data-x="attr-iframe-srcdoc">srcdoc</code> on <code>iframe</code> elements; must be parsed and recursively processed</li>
<li><code data-x="attr-style">style</code> on <span>HTML elements</span>; must be parsed and recursively processed (e.g. for the values of 'content' properties)</li>
<li><code data-x="attr-title">title</code> on all <span>HTML elements</span></li>
<!-- <input value> is excluded since we can't predict if it interferes with server-side processing -->
<li><code data-x="attr-input-value">value</code> on <code>input</code> elements with a
<code data-x="attr-input-type">type</code> attribute in the <span data-x="attr-input-type-button">Button</span> state</li>
<!-- <input value> on other types is excluded since we can't predict if it interferes with server-side processing -->
</ul>

<p>Other specifications may define other attributes that are also <span>translatable
Expand Down

0 comments on commit 1fea23c

Please sign in to comment.