[html5] r6339 - [e] (0) Add a note about why you would persist dir='' in history traversal. Fixi [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Jul 29 16:36:43 PDT 2011
Author: ianh
Date: 2011-07-29 16:36:41 -0700 (Fri, 29 Jul 2011)
New Revision: 6339
Modified:
complete.html
index
source
Log:
[e] (0) Add a note about why you would persist dir='' in history traversal.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10823
Modified: complete.html
===================================================================
--- complete.html 2011-07-29 01:41:50 UTC (rev 6338)
+++ complete.html 2011-07-29 23:36:41 UTC (rev 6339)
@@ -62907,6 +62907,13 @@
<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>
Modified: index
===================================================================
--- index 2011-07-29 01:41:50 UTC (rev 6338)
+++ index 2011-07-29 23:36:41 UTC (rev 6339)
@@ -62779,6 +62779,13 @@
<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>
Modified: source
===================================================================
--- source 2011-07-29 01:41:50 UTC (rev 6338)
+++ source 2011-07-29 23:36:41 UTC (rev 6339)
@@ -71471,6 +71471,13 @@
<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>
More information about the Commit-Watchers
mailing list