W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2011

html5/spec Overview.html,1.5066,1.5067

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 29 Jul 2011 23:36:51 +0000
To: public-html-commits@w3.org
Message-Id: <E1Qmwbr-00050i-WC@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv19246

Modified Files:
Log Message:
Add a note about why you would persist dir='' in history traversal. (whatwg r6339)

Index: Overview.html
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5066
retrieving revision 1.5067
diff -u -d -r1.5066 -r1.5067
--- Overview.html	29 Jul 2011 01:41:56 -0000	1.5066
+++ Overview.html	29 Jul 2011 23:36:47 -0000	1.5067
@@ -44526,7 +44526,12 @@
   history by that document.<p><dfn id="an-entry-with-persisted-user-state">An entry with persisted user state</dfn> is one that also
   has user-agent defined state. This specification does not specify
   what kind of state can be stored.<p class="example">For example, some user agents might want to
-  persist the scroll position, or the values of form controls.<p>Entries that consist of <a href="#state-object" title="state object">state
+  persist the scroll position, or the values of form controls.<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>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>Contiguous entries that differ just by fragment identifier also
   share the same <code><a href="#document">Document</a></code>.<p class="note">All entries that share the same
Received on Friday, 29 July 2011 23:36:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:10:52 UTC