Skip to content

Commit

Permalink
[e] (0) Add a note about why you would persist dir='' in history trav…
Browse files Browse the repository at this point in the history
…ersal.

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

git-svn-id: http://svn.whatwg.org/webapps@6339 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 29, 2011
1 parent 46b5f60 commit c52b51e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions complete.html
Expand Up @@ -62907,6 +62907,13 @@ <h4 id=the-session-history-of-browsing-contexts><span class=secno>6.4.1 </span>T
<p class=example>For example, some user agents might want to
persist the scroll position, or the values of form controls.</p>

<p class=note>User agents that persist the value of form controls
are encouraged to also persist their directionality (the value of
the element's <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute). This
prevents values from being displayed incorrectly after a history
traversal when the user had originally entered the values with an
explicit, non-default directionality.</p>

<p>Entries that consist of <a href=#state-object title="state object">state
objects</a> share the same <code><a href=#document>Document</a></code> as the entry for
the page that was active when they were added.</p>
Expand Down
7 changes: 7 additions & 0 deletions index
Expand Up @@ -62779,6 +62779,13 @@ x === this; // true</pre>
<p class=example>For example, some user agents might want to
persist the scroll position, or the values of form controls.</p>

<p class=note>User agents that persist the value of form controls
are encouraged to also persist their directionality (the value of
the element's <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute). This
prevents values from being displayed incorrectly after a history
traversal when the user had originally entered the values with an
explicit, non-default directionality.</p>

<p>Entries that consist of <a href=#state-object title="state object">state
objects</a> share the same <code><a href=#document>Document</a></code> as the entry for
the page that was active when they were added.</p>
Expand Down
7 changes: 7 additions & 0 deletions source
Expand Up @@ -71471,6 +71471,13 @@ x === this; // true</pre>
<p class="example">For example, some user agents might want to
persist the scroll position, or the values of form controls.</p>

<p class="note">User agents that persist the value of form controls
are encouraged to also persist their directionality (the value of
the element's <code title="attr-dir">dir</code> attribute). This
prevents values from being displayed incorrectly after a history
traversal when the user had originally entered the values with an
explicit, non-default directionality.</p>

<p>Entries that consist of <span title="state object">state
objects</span> share the same <code>Document</code> as the entry for
the page that was active when they were added.</p>
Expand Down

0 comments on commit c52b51e

Please sign in to comment.