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

html5/spec history.html,1.1059,1.1060 spec.html,1.1579,1.1580

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 29 Jul 2011 23:46:24 +0000
To: public-html-commits@w3.org
Message-Id: <E1Qmwl6-0005LZ-9t@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv20533

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

[updated by splitter]

Index: history.html
RCS file: /sources/public/html5/spec/history.html,v
retrieving revision 1.1059
retrieving revision 1.1060
diff -u -d -r1.1059 -r1.1060
--- history.html	28 Jul 2011 01:46:26 -0000	1.1059
+++ history.html	29 Jul 2011 23:46:21 -0000	1.1060
@@ -406,7 +406,12 @@
   history by that document.</p><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><p class="example">For example, some user agents might want to
-  persist the scroll position, or the values of form controls.</p><p>Entries that consist of <a href="#state-object" title="state object">state
+  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="elements.html#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="infrastructure.html#document">Document</a></code> as the entry for
   the page that was active when they were added.</p><p>Contiguous entries that differ just by fragment identifier also
   share the same <code><a href="infrastructure.html#document">Document</a></code>.</p><p class="note">All entries that share the same

Index: spec.html
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1579
retrieving revision 1.1580
diff -u -d -r1.1579 -r1.1580
--- spec.html	29 Jul 2011 01:46:23 -0000	1.1579
+++ spec.html	29 Jul 2011 23:46:22 -0000	1.1580
@@ -349,7 +349,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">web developer edition</a>.
-This is revision 1.5066.
+This is revision 1.5067.
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2011 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Friday, 29 July 2011 23:46:28 UTC

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