Skip to content

Commit ea29ce1

Browse files
authored
Capitalize autocomplete and autocapitalize attribute states
1 parent 905384d commit ea29ce1

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

source

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -83996,23 +83996,23 @@ body { display:none }
8399683996
<dfn data-x="autocapitalization hint">autocapitalization hints</dfn>, defined as follows:</p>
8399783997

8399883998
<dl>
83999-
<dt><dfn data-x="autocap-hint-default">default</dfn></dt>
83999+
<dt><dfn data-x="autocap-hint-default">Default</dfn></dt>
8400084000
<dd><p>The user agent and input method should make their own determination of whether or not to
8400184001
enable autocapitalization.</p></dd>
8400284002

84003-
<dt><dfn data-x="autocap-hint-none">none</dfn></dt>
84003+
<dt><dfn data-x="autocap-hint-none">None</dfn></dt>
8400484004
<dd><p>No autocapitalization should be applied (all letters should default to
8400584005
lowercase).</p></dd>
8400684006

84007-
<dt><dfn data-x="autocap-hint-sentences">sentences</dfn></dt>
84007+
<dt><dfn data-x="autocap-hint-sentences">Sentences</dfn></dt>
8400884008
<dd><p>The first letter of each sentence should default to a capital letter; all other letters
8400984009
should default to lowercase.</p></dd>
8401084010

84011-
<dt><dfn data-x="autocap-hint-words">words</dfn></dt>
84011+
<dt><dfn data-x="autocap-hint-words">Words</dfn></dt>
8401284012
<dd><p>The first letter of each word should default to a capital letter; all other letters should
8401384013
default to lowercase.</p></dd>
8401484014

84015-
<dt><dfn data-x="autocap-hint-characters">characters</dfn></dt>
84015+
<dt><dfn data-x="autocap-hint-characters">Characters</dfn></dt>
8401684016
<dd><p>All letters should default to uppercase.</p></dd>
8401784017
</dl>
8401884018

@@ -84034,33 +84034,33 @@ body { display:none }
8403484034
<td><dfn attr-value for="html-global/autocapitalize"><code
8403584035
data-x="attr-autocapitalize-off">off</code></dfn>
8403684036

84037-
<td rowspan="2"><span data-x="autocap-hint-none">none</span>
84037+
<td rowspan="2"><span data-x="autocap-hint-none">None</span>
8403884038
<tr>
8403984039
<td><dfn attr-value for="html-global/autocapitalize"><code
8404084040
data-x="attr-autocapitalize-none">none</code></dfn>
8404184041
<tr>
8404284042
<td><dfn attr-value for="html-global/autocapitalize"><code
8404384043
data-x="attr-autocapitalize-on">on</code></dfn>
8404484044

84045-
<td rowspan="2"><span data-x="autocap-hint-sentences">sentences</span>
84045+
<td rowspan="2"><span data-x="autocap-hint-sentences">Sentences</span>
8404684046
<tr>
8404784047
<td><dfn attr-value for="html-global/autocapitalize"><code
8404884048
data-x="attr-autocapitalize-sentences">sentences</code></dfn>
8404984049
<tr>
8405084050
<td><dfn attr-value for="html-global/autocapitalize"><code
8405184051
data-x="attr-autocapitalize-words">words</code></dfn>
8405284052

84053-
<td><span data-x="autocap-hint-words">words</span>
84053+
<td><span data-x="autocap-hint-words">Words</span>
8405484054
<tr>
8405584055
<td><dfn attr-value for="html-global/autocapitalize"><code
8405684056
data-x="attr-autocapitalize-characters">characters</code></dfn>
8405784057

84058-
<td><span data-x="autocap-hint-characters">characters</span>
84058+
<td><span data-x="autocap-hint-characters">Characters</span>
8405984059
</table>
8406084060

8406184061
<p>The attribute's <i data-x="missing value default">missing value default</i> is the <span
84062-
data-x="autocap-hint-default">default</span> state, and its <i data-x="invalid value
84063-
default">invalid value default</i> is the <span data-x="autocap-hint-sentences">sentences</span>
84062+
data-x="autocap-hint-default">Default</span> state, and its <i data-x="invalid value
84063+
default">invalid value default</i> is the <span data-x="autocap-hint-sentences">Sentences</span>
8406484064
state.
8406584065

8406684066
<dl class="domintro">
@@ -84094,7 +84094,7 @@ body { display:none }
8409484094
element</span> and has a non-null <span>form owner</span>, return the <span>own
8409584095
autocapitalization hint</span> of <var>element</var>'s <span>form owner</span>.</p></li>
8409684096

84097-
<li><p>Return <span data-x="autocap-hint-default">default</span>.</p></li>
84097+
<li><p>Return <span data-x="autocap-hint-default">Default</span>.</p></li>
8409884098
</ol>
8409984099

8410084100
<p>The <dfn attribute for="HTMLElement"><code
@@ -84104,13 +84104,13 @@ body { display:none }
8410484104
<li><p>Let <var>state</var> be the <span>own autocapitalization hint</span> of
8410584105
<span>this</span>.</p></li>
8410684106

84107-
<li><p>If <var>state</var> is <span data-x="autocap-hint-default">default</span>, then return the
84107+
<li><p>If <var>state</var> is <span data-x="autocap-hint-default">Default</span>, then return the
8410884108
empty string.</p></li>
8410984109

84110-
<li><p>If <var>state</var> is <span data-x="autocap-hint-none">none</span>, then return "<code
84110+
<li><p>If <var>state</var> is <span data-x="autocap-hint-none">None</span>, then return "<code
8411184111
data-x="attr-autocapitalize-none">none</code>".</p></li>
8411284112

84113-
<li><p>If <var>state</var> is <span data-x="autocap-hint-sentences">sentences</span>, then return
84113+
<li><p>If <var>state</var> is <span data-x="autocap-hint-sentences">Sentences</span>, then return
8411484114
"<code data-x="attr-autocapitalize-sentences">sentences</code>".</p></li>
8411584115

8411684116
<li><p>Return the keyword value corresponding to <var>state</var>.</p></li>
@@ -84135,7 +84135,7 @@ body { display:none }
8413584135
data-x="attr-input-type">type</code> attribute is in one of the <span
8413684136
data-x="attr-input-type-url">URL</span>, <span data-x="attr-input-type-email">Email</span>, or
8413784137
<span data-x="attr-input-type-password">Password</span> states, then return <span
84138-
data-x="autocap-hint-default">default</span>.</p></li>
84138+
data-x="autocap-hint-default">Default</span>.</p></li>
8413984139

8414084140
<li><p>If <var>element</var> is an <code>input</code> element or a <code>textarea</code> element,
8414184141
then return <var>element</var>'s <span>own autocapitalization hint</span>.</p></li>
@@ -84191,24 +84191,24 @@ body { display:none }
8419184191
<tr>
8419284192
<td><dfn attr-value for="html-global/autocorrect"><code
8419384193
data-x="attr-autocorrect-on">on</code></dfn>
84194-
<td><dfn data-x="concept-autocorrection-on">on</dfn>
84194+
<td><dfn data-x="concept-autocorrection-on">On</dfn>
8419584195
<td>The user agent is permitted to automatically correct spelling errors while the user types.
8419684196
Whether spelling is automatically corrected while typing left is for the user agent to decide,
8419784197
and may depend on the element as well as the user's preferences.
8419884198
<tr>
8419984199
<td><dfn attr-value for="html-global/autocorrect"><code data-x="attr-autocorrect-off">off</code></dfn>
84200-
<td><dfn data-x="concept-autocorrection-off">off</dfn>
84200+
<td><dfn data-x="concept-autocorrection-off">Off</dfn>
8420184201
<td>The user agent is not allowed to automatically correct spelling while the user types.
8420284202
</table>
8420384203

8420484204
<p>The attribute's <i data-x="invalid value default">invalid value default</i>, <i data-x="missing
8420584205
value default">missing value default</i>, and <i data-x="empty value default">empty value
84206-
default</i> are all the <span data-x="concept-autocorrection-on">on</span> state.</p>
84206+
default</i> are all the <span data-x="concept-autocorrection-on">On</span> state.</p>
8420784207

8420884208
<p>The <dfn attribute for="HTMLElement"><code data-x="dom-autocorrect">autocorrect</code></dfn>
8420984209
getter steps are: return true if the element's <span>used autocorrection state</span> is <span
84210-
data-x="concept-autocorrection-on">on</span> and false if the element's <span>used autocorrection
84211-
state</span> is <span data-x="concept-autocorrection-off">off</span>. The setter steps are: if the
84210+
data-x="concept-autocorrection-on">On</span> and false if the element's <span>used autocorrection
84211+
state</span> is <span data-x="concept-autocorrection-off">Off</span>. The setter steps are: if the
8421284212
given value is true, then the element's <code data-x="attr-autocorrect">autocorrect</code>
8421384213
attribute must be set to "<code data-x="">on</code>"; otherwise it must be set to "<code
8421484214
data-x="">off</code>".</p>
@@ -84221,7 +84221,7 @@ body { display:none }
8422184221
data-x="attr-input-type">type</code> attribute is in one of the <span
8422284222
data-x="attr-input-type-url">URL</span>, <span data-x="attr-input-type-email">Email</span>, or
8422384223
<span data-x="attr-input-type-password">Password</span> states, then return <span
84224-
data-x="concept-autocorrection-off">off</span>.</p></li>
84224+
data-x="concept-autocorrection-off">Off</span>.</p></li>
8422584225

8422684226
<li><p>If the <code data-x="attr-autocorrect">autocorrect</code> content attribute is present on
8422784227
<var>element</var>, then return the state of the attribute.</p></li>
@@ -84232,7 +84232,7 @@ body { display:none }
8423284232
<var>element</var>'s <span>form owner</span>'s <code data-x="attr-autocorrect">autocorrect</code>
8423384233
attribute.</p></li>
8423484234

84235-
<li><p>Return <span data-x="concept-autocorrection-on">on</span>.</p></li>
84235+
<li><p>Return <span data-x="concept-autocorrection-on">On</span>.</p></li>
8423684236
</ol>
8423784237

8423884238
<dl class="domintro">

0 commit comments

Comments
 (0)