Skip to content

Commit

Permalink
[e] (0) Mention dir='' in the persisted user state stuff now that the…
Browse files Browse the repository at this point in the history
… user can change it too.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10823

git-svn-id: http://svn.whatwg.org/webapps@5893 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 15, 2011
1 parent 5f801ea commit 5eb66f0
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 12 deletions.
21 changes: 17 additions & 4 deletions complete.html
Expand Up @@ -40934,6 +40934,7 @@ <h6 id=text-state-and-search-state><span class=secno>4.10.7.1.2 </span><dfn titl
element's <a href=#concept-fe-value title=concept-fe-value>value</a>.</p>

<!-- this next bit is also in the <textarea> section -->
<!-- and something similar is in the session history section -->
<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
the user agent should allow the user to change the writing direction
of the element, setting it either to a left-to-right writing
Expand Down Expand Up @@ -46160,6 +46161,7 @@ <h4 id=the-textarea-element><span class=secno>4.10.13 </span>The <dfn><code>text
attribute.</p>

<!-- this next bit is also in the <input> Text/Search section -->
<!-- and something similar is in the session history section -->
<p>If the element is <a href=#concept-textarea-mutable title=concept-textarea-mutable>mutable</a>, the user agent
should allow the user to change the writing direction of the
element, setting it either to a left-to-right writing direction or a
Expand Down Expand Up @@ -61506,10 +61508,21 @@ <h4 id=history-traversal><span class=secno>6.5.9 </span>History traversal</h4> <
persisted user state</a>, but its URL has a fragment identifier,
<a href=#scroll-to-the-fragment-identifier>scroll to the fragment identifier</a>.</li>

<li><p>If the entry is <a href=#an-entry-with-persisted-user-state>an entry with persisted user
state</a>, the user agent may update aspects of the document and
its rendering, for instance the scroll position or values of form
fields, that it had previously recorded.</li>
<li>

<p>If the entry is <a href=#an-entry-with-persisted-user-state>an entry with persisted user
state</a>, the user agent may update aspects of the document
and its rendering, for instance the scroll position or values of
form fields, that it had previously recorded.</p>

<!-- see similar paragraphs in the textarea and input sections -->
<p class=note>This can even include updating the <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute of <code><a href=#the-textarea-element>textarea</a></code>
elements or <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 is in either the
<a href=#text-state-and-search-state title=attr-input-type-text>Text</a> state or the <a href=#text-state-and-search-state title=attr-input-type-search>Search</a> state, if the
persisted state includes the directionality of user input in such
controls.</p>

</li>

<li><p>If the entry is a <a href=#state-object>state object</a> entry, let <var title="">state</var> be a <a href=#structured-clone>structured clone</a> of that
state object. Otherwise, let <var title="">state</var> be
Expand Down
21 changes: 17 additions & 4 deletions index
Expand Up @@ -40917,6 +40917,7 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
element's <a href=#concept-fe-value title=concept-fe-value>value</a>.</p>

<!-- this next bit is also in the <textarea> section -->
<!-- and something similar is in the session history section -->
<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
the user agent should allow the user to change the writing direction
of the element, setting it either to a left-to-right writing
Expand Down Expand Up @@ -46143,6 +46144,7 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
attribute.</p>

<!-- this next bit is also in the <input> Text/Search section -->
<!-- and something similar is in the session history section -->
<p>If the element is <a href=#concept-textarea-mutable title=concept-textarea-mutable>mutable</a>, the user agent
should allow the user to change the writing direction of the
element, setting it either to a left-to-right writing direction or a
Expand Down Expand Up @@ -61489,10 +61491,21 @@ State: &lt;OUTPUT NAME=I&gt;1&lt;/OUTPUT&gt; &lt;INPUT VALUE="Increment" TYPE=BU
persisted user state</a>, but its URL has a fragment identifier,
<a href=#scroll-to-the-fragment-identifier>scroll to the fragment identifier</a>.</li>

<li><p>If the entry is <a href=#an-entry-with-persisted-user-state>an entry with persisted user
state</a>, the user agent may update aspects of the document and
its rendering, for instance the scroll position or values of form
fields, that it had previously recorded.</li>
<li>

<p>If the entry is <a href=#an-entry-with-persisted-user-state>an entry with persisted user
state</a>, the user agent may update aspects of the document
and its rendering, for instance the scroll position or values of
form fields, that it had previously recorded.</p>

<!-- see similar paragraphs in the textarea and input sections -->
<p class=note>This can even include updating the <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute of <code><a href=#the-textarea-element>textarea</a></code>
elements or <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 is in either the
<a href=#text-state-and-search-state title=attr-input-type-text>Text</a> state or the <a href=#text-state-and-search-state title=attr-input-type-search>Search</a> state, if the
persisted state includes the directionality of user input in such
controls.</p>

</li>

<li><p>If the entry is a <a href=#state-object>state object</a> entry, let <var title="">state</var> be a <a href=#structured-clone>structured clone</a> of that
state object. Otherwise, let <var title="">state</var> be
Expand Down
24 changes: 20 additions & 4 deletions source
Expand Up @@ -45619,6 +45619,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
element's <span title="concept-fe-value">value</span>.</p>

<!-- this next bit is also in the <textarea> section -->
<!-- and something similar is in the session history section -->
<p>If the element is <i title="concept-input-mutable">mutable</i>,
the user agent should allow the user to change the writing direction
of the element, setting it either to a left-to-right writing
Expand Down Expand Up @@ -51693,6 +51694,7 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
attribute.</p>

<!-- this next bit is also in the <input> Text/Search section -->
<!-- and something similar is in the session history section -->
<p>If the element is <span
title="concept-textarea-mutable">mutable</span>, the user agent
should allow the user to change the writing direction of the
Expand Down Expand Up @@ -69858,10 +69860,24 @@ State: &lt;OUTPUT NAME=I>1&lt;/OUTPUT> &lt;INPUT VALUE="Increment" TYPE=BUTTON O
persisted user state</span>, but its URL has a fragment identifier,
<span>scroll to the fragment identifier</span>.</p></li>

<li><p>If the entry is <span>an entry with persisted user
state</span>, the user agent may update aspects of the document and
its rendering, for instance the scroll position or values of form
fields, that it had previously recorded.</p></li>
<li>

<p>If the entry is <span>an entry with persisted user
state</span>, the user agent may update aspects of the document
and its rendering, for instance the scroll position or values of
form fields, that it had previously recorded.</p>

<!-- see similar paragraphs in the textarea and input sections -->
<p class="note">This can even include updating the <code
title="attr-dir">dir</code> attribute of <code>textarea</code>
elements or <code>input</code> elements whose <code
title="attr-input-type">type</code> attribute is in either the
<span title="attr-input-type-text">Text</span> state or the <span
title="attr-input-type-search">Search</span> state, if the
persisted state includes the directionality of user input in such
controls.</p>

</li>

<li><p>If the entry is a <span>state object</span> entry, let <var
title="">state</var> be a <span>structured clone</span> of that
Expand Down

0 comments on commit 5eb66f0

Please sign in to comment.