hixie: Make document.title safe from synchronous mutation events. (whatwg r3566)

hixie: Make document.title safe from synchronous mutation events.
(whatwg r3566)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2758&r2=1.2759&f=h
http://html5.org/tools/web-apps-tracker?from=3565&to=3566

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2758
retrieving revision 1.2759
diff -u -d -r1.2758 -r1.2759
--- Overview.html 8 Aug 2009 07:55:38 -0000 1.2758
+++ Overview.html 8 Aug 2009 07:58:46 -0000 1.2759
@@ -6317,14 +6317,14 @@
 
    <li>If <a href="#the-title-element-0">the <code>title</code> element</a> is null, then a
    new <code><a href="#the-title-element">title</a></code> element must be created and appended to
-   <a href="#the-head-element-0">the <code>head</code> element</a>.</li>
+   <a href="#the-head-element-0">the <code>head</code> element</a>. Let <var title="">element</var> be that element. Otherwise, let <var title="">element</var> be <a href="#the-title-element-0">the <code>title</code>
+   element</a>.</li>
 
-   <li>The children of <a href="#the-title-element-0">the <code>title</code> element</a> (if
-   any) must all be removed.</li>
+   <li>The children of <var title="">element</var> (if any) must all
+   be removed.</li>
 
    <li>A single <code>Text</code> node whose data is the new value
-   being assigned must be appended to <a href="#the-title-element-0">the <code>title</code>
-   element</a>.</li>
+   being assigned must be appended to <var title="">element</var>.</li>
 
   </ol><p>The <code title="dom-document-title"><a href="#document.title">title</a></code> attribute on
   the <code><a href="#htmldocument">HTMLDocument</a></code> interface should shadow the attribute

Received on Saturday, 8 August 2009 07:59:43 UTC