Skip to content

Commit

Permalink
[giow] (1) fix typo in last checkin
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25235
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8655 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 4, 2014
1 parent 8db70d1 commit 6edf6f1
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 26 deletions.
61 changes: 49 additions & 12 deletions complete.html
Expand Up @@ -48038,14 +48038,14 @@ <h6 id=autofilling-form-controls:-the-autocomplete-attribute><span class=secno>4
<pre>&lt;fieldset&gt;
&lt;legend&gt;Ship the blue gift to...&lt;/legend&gt;
&lt;p&gt; &lt;label&gt; Address: &lt;input name=ba autocomplete="section-blue shipping street-address"&gt; &lt;/label&gt;
&lt;p&gt; &lt;label&gt; City: &lt;input name=bc autocomplete="section-blue shipping region"&gt; &lt;/label&gt;
&lt;p&gt; &lt;label&gt; City: &lt;input name=bc autocomplete="section-blue shipping address-level1"&gt; &lt;/label&gt;
&lt;p&gt; &lt;label&gt; Postal Code: &lt;input name=bp autocomplete="section-blue shipping postal-code"&gt; &lt;/label&gt;
&lt;/fieldset&gt;
&lt;fieldset&gt;
&lt;legend&gt;Ship the red gift to...&lt;/legend&gt;
&lt;p&gt; &lt;label&gt; Address: &lt;input name=ra autocomplete="section-red shipping street-address"&gt; &lt;/label&gt;
&lt;p&gt; &lt;label&gt; City: &lt;input name=rc autocomplete="section-red shipping region"&gt; &lt;/label&gt;
&lt;p&gt; &lt;label&gt; Postal Code: &lt;input name=rp autocomplete="section-red shipping country"&gt; &lt;/label&gt;
&lt;p&gt; &lt;label&gt; City: &lt;input name=rc autocomplete="section-red shipping address-level1"&gt; &lt;/label&gt;
&lt;p&gt; &lt;label&gt; Postal Code: &lt;input name=rp autocomplete="section-red shipping postal-code"&gt; &lt;/label&gt;
&lt;/fieldset&gt;</pre>

</div>
Expand Down Expand Up @@ -48091,8 +48091,10 @@ <h6 id=autofilling-form-controls:-the-autocomplete-attribute><span class=secno>4
<li>"<code title=attr-fe-autocomplete-address-line1><a href=#attr-fe-autocomplete-address-line1>address-line1</a></code>"
<li>"<code title=attr-fe-autocomplete-address-line2><a href=#attr-fe-autocomplete-address-line2>address-line2</a></code>"
<li>"<code title=attr-fe-autocomplete-address-line3><a href=#attr-fe-autocomplete-address-line3>address-line3</a></code>"
<li>"<code title=attr-fe-autocomplete-locality><a href=#attr-fe-autocomplete-locality>locality</a></code>"
<li>"<code title=attr-fe-autocomplete-region><a href=#attr-fe-autocomplete-region>region</a></code>"
<li>"<code title=attr-fe-autocomplete-address-level4><a href=#attr-fe-autocomplete-address-level4>address-level4</a></code>"
<li>"<code title=attr-fe-autocomplete-address-level3><a href=#attr-fe-autocomplete-address-level3>address-level3</a></code>"
<li>"<code title=attr-fe-autocomplete-address-level2><a href=#attr-fe-autocomplete-address-level2>address-level2</a></code>"
<li>"<code title=attr-fe-autocomplete-address-level1><a href=#attr-fe-autocomplete-address-level1>address-level1</a></code>"
<li>"<code title=attr-fe-autocomplete-country><a href=#attr-fe-autocomplete-country>country</a></code>"
<li>"<code title=attr-fe-autocomplete-country-name><a href=#attr-fe-autocomplete-country-name>country-name</a></code>"
<li>"<code title=attr-fe-autocomplete-postal-code><a href=#attr-fe-autocomplete-postal-code>postal-code</a></code>"
Expand Down Expand Up @@ -48290,13 +48292,30 @@ <h6 id=autofilling-form-controls:-the-autocomplete-attribute><span class=secno>4
<td>Free-form text, no newlines
<td>
<td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-locality title=attr-fe-autocomplete-locality><code>locality</code></dfn>"
<td>City, town, village, post town, or other locality within which the relevant street address is found
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-address-level4 title=attr-fe-autocomplete-address-level4><code>address-level4</code></dfn>"
<td>The most fine-grained <a href=#more-on-address-levels>administrative level</a>, in
addresses with four administrative levels
<td>Free-form text, no newlines
<td>
<td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-address-level3 title=attr-fe-autocomplete-address-level3><code>address-level2</code></dfn>"
<td>The <a href=#more-on-address-levels>third administrative level</a>, in addresses with
three or more administrative levels
<td>Free-form text, no newlines
<td>
<td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-address-level2 title=attr-fe-autocomplete-address-level2><code>address-level2</code></dfn>"
<td>The <a href=#more-on-address-levels>second administrative level</a>, in addresses with
two or more administrative levels; in the countries with two administrative levels, this would
typically be the city, town, village, or other locality within which the relevant street
address is found
<td>Free-form text, no newlines
<td>Cambridge
<td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-region title=attr-fe-autocomplete-region><code>region</code></dfn>"
<td>Province such as a state, county, or canton within which the locality is found
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-address-level1 title=attr-fe-autocomplete-address-level1><code>address-level1</code></dfn>"
<td>The broadest <a href=#more-on-address-levels>administrative level</a> in the address,
i.e. the province within which the locality is found; for example, in the US, this would be the
state; in Switzerland it would be the canton; the canton; in the UK, the post town
<td>Free-form text, no newlines
<td>MA
<td><a href=#control-group-text title="Control Group Text">Text</a>
Expand All @@ -48311,7 +48330,7 @@ <h6 id=autofilling-form-controls:-the-autocomplete-attribute><span class=secno>4
<td>US
<td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-postal-code title=attr-fe-autocomplete-postal-code><code>postal-code</code></dfn>"
<td>Postal code, post code, ZIP code, CEDEX code (if CEDEX, append "CEDEX", and the <i lang=fr>arrondissement</i> if relevant, to the <code title=attr-fe-autocomplete-locality><a href=#attr-fe-autocomplete-locality>locality</a></code> field)
<td>Postal code, post code, ZIP code, CEDEX code (if CEDEX, append "CEDEX", and the <i lang=fr>arrondissement</i>, if relevant, to the <code title=attr-fe-autocomplete-address-level2><a href=#attr-fe-autocomplete-address-level2>address-level2</a></code> field)
<td>Free-form text, no newlines
<td>02139
<td><a href=#control-group-text title="Control Group Text">Text</a>
Expand Down Expand Up @@ -48546,6 +48565,17 @@ <h6 id=autofilling-form-controls:-the-autocomplete-attribute><span class=secno>4
value corresponding to the state of the element's <a href=#form-owner>form owner</a>'s <code title=attr-form-autocomplete><a href=#attr-form-autocomplete>autocomplete</a></code> attribute is used instead (either "<code title=attr-fe-autocomplete-on><a href=#attr-fe-autocomplete-on>on</a></code>" or "<code title=attr-fe-autocomplete-off><a href=#attr-fe-autocomplete-off>off</a></code>"). If there is no <a href=#form-owner>form owner</a>, then the
value "<code title=attr-fe-autocomplete-on><a href=#attr-fe-autocomplete-on>on</a></code>" is used.</p>

<hr><p id=more-on-address-levels><strong>Address levels</strong>: The "<code title=attr-fe-autocomplete-address-level1><a href=#attr-fe-autocomplete-address-level1>address-level1</a></code>" &ndash; "<code title=attr-fe-autocomplete-address-level4><a href=#attr-fe-autocomplete-address-level4>address-level4</a></code>" fields are used to describe
the locality of the street address. Different locales have different numbers of levels. For
example, the US uses two levels (state and town), the UK uses one or two depending on the address
(the post town, and in some cases the locality), and China can use three (province, city,
district). The "<code title=attr-fe-autocomplete-address-level1><a href=#attr-fe-autocomplete-address-level1>address-level1</a></code>" field
represents the widest administrative division. Different locales order the fields in different
ways; for example, in the US the town (level 2) precedes the state (level 1); while in Japan the
prefecture (level 1) precedes the city (level 2) which precedes the district (level 3). Authors
are encouraged to provide forms that are presented in a way that matches the country's conventions
(hiding, showing, and rearranging fields accordingly as the user changes the country).</p>


<div class=impl>

Expand Down Expand Up @@ -48647,10 +48677,16 @@ <h6 id=processing-model-2><span class=secno>4.10.19.8.2 </span>Processing model<
<tr><td>"<code title=attr-fe-autocomplete-address-line3><a href=#attr-fe-autocomplete-address-line3>address-line3</a></code>"
<td>3
<td>Normal
<tr><td>"<code title=attr-fe-autocomplete-locality><a href=#attr-fe-autocomplete-locality>locality</a></code>"
<tr><td>"<code title=attr-fe-autocomplete-address-level4><a href=#attr-fe-autocomplete-address-level4>address-level4</a></code>"
<td>3
<td>Normal
<tr><td>"<code title=attr-fe-autocomplete-address-level3><a href=#attr-fe-autocomplete-address-level3>address-level3</a></code>"
<td>3
<td>Normal
<tr><td>"<code title=attr-fe-autocomplete-region><a href=#attr-fe-autocomplete-region>region</a></code>"
<tr><td>"<code title=attr-fe-autocomplete-address-level2><a href=#attr-fe-autocomplete-address-level2>address-level2</a></code>"
<td>3
<td>Normal
<tr><td>"<code title=attr-fe-autocomplete-address-level1><a href=#attr-fe-autocomplete-address-level1>address-level1</a></code>"
<td>3
<td>Normal
<tr><td>"<code title=attr-fe-autocomplete-country><a href=#attr-fe-autocomplete-country>country</a></code>"
Expand Down Expand Up @@ -54470,6 +54506,7 @@ <h4 id=the-canvas-element><span class=secno>4.12.4 </span>The <dfn id=canvas><co
has been disabled, the <code><a href=#the-canvas-element>canvas</a></code> element <a href=#represents>represents</a> its <a href=#fallback-content>fallback
content</a> instead.</p>

<!--CLEANUP-->
<!-- CANVAS-FOCUS-FALLBACK -->
<p>When a <code><a href=#the-canvas-element>canvas</a></code> element <a href=#represents>represents</a> <a href=#embedded-content-category>embedded content</a>, the
user can still focus descendants of the <code><a href=#the-canvas-element>canvas</a></code> element (in the <a href=#fallback-content>fallback
Expand Down

0 comments on commit 6edf6f1

Please sign in to comment.