- From: poot <cvsmail@w3.org>
- Date: Tue, 23 Dec 2008 12:44:42 +0900 (JST)
- To: public-html-diffs@w3.org
Minor tweaks to the script group stuff to fix cases I'd overlooked. (whatwg r2549) Status of this document http://people.w3.org/mike/diffs/html5/spec/Overview.1.1720.html#status-of-this-document A vocabulary and associated APIs for HTML and XHTML http://people.w3.org/mike/diffs/html5/spec/Overview.1.1720.html#a-vocabulary-and-associated-apis-for-html-and-xhtml 5.4.3.3 Creating scripts http://people.w3.org/mike/diffs/html5/spec/Overview.1.1720.html#creating-scripts 5.4.3.2 Calling scripts http://people.w3.org/mike/diffs/html5/spec/Overview.1.1720.html#calling-scripts The user agent must make the specified entry's Document object the active document of the browsing context. (If it is a top-level browsing context, this might change which application cache it is associated with.) http://people.w3.org/mike/diffs/html5/spec/Overview.1.1720.html#appcache-history-2 Editor's Draft 23 December 2008 http://people.w3.org/mike/diffs/html5/spec/Overview.1.1720.html#editor-s-draft-date-zzz-9-june-2008 5.9.9 History traversal http://people.w3.org/mike/diffs/html5/spec/Overview.1.1720.html#history-traversal 3.7.1 Controlling the input stream http://people.w3.org/mike/diffs/html5/spec/Overview.1.1720.html#controlling-the-input-stream http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1719&r2=1.1720&f=h http://html5.org/tools/web-apps-tracker?from=2548&to=2549 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1719 retrieving revision 1.1720 diff -u -d -r1.1719 -r1.1720 --- Overview.html 20 Dec 2008 09:45:01 -0000 1.1719 +++ Overview.html 23 Dec 2008 03:41:57 -0000 1.1720 @@ -8,7 +8,7 @@ <p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p> <h1>HTML 5</h1> <h2 class="no-num no-toc" id=a-vocabulary-and-associated-apis-for-html-and-xhtml>A vocabulary and associated APIs for HTML and XHTML</h2> - <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->20 December 2008</h2> + <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->23 December 2008</h2> <dl><!-- ZZZ: update the month/day <dt>This Version:</dt> <dd><a href="http://www.w3.org/TR/2008/WD-html5-20080610/">http://www.w3.org/TR/2008/WD-html5-20080610/</a></dd> @@ -97,7 +97,7 @@ specification's progress along the W3C Recommendation track. <!--ZZZ:--> - This specification is the 20 December 2008 <!--ZZZ "Working Draft"-->Editor's Draft. + This specification is the 23 December 2008 <!--ZZZ "Working Draft"-->Editor's Draft. <!--:ZZZ--> </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href=http://www.whatwg.org/>WHATWG</a>. The two specifications are identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of) @@ -6093,8 +6093,9 @@ XHTML, or image document, or something?</span></li><!-- XXX see also innerHTML in HTML --> - <li><p>Freeze the document's <a href=#current-script-group>current script - group</a>.</li> + <li><p>Freeze the document's <a href=#current-script-group>current script group</a>, as + well as the <a href=#current-script-group>current script group</a> of any <a href=#active-document title="active document">active documents</a> in <a href=#nested-browsing-context title="nested browsing context">nested browsing + contexts</a>.</li> <li><p>Unregister all event listeners registered on the <code>Document</code> node and its descendants.</p> @@ -27411,8 +27412,20 @@ throw an <code><a href=#unavailable_script_err>UNAVAILABLE_SCRIPT_ERR</a></code> exception. Otherwise, the <a href=#script-execution-environment title="script execution environment">script execution environment</a> for the <a href=#concept-script title=concept-script>script</a> must execute the code for the - given code entry-point.<p>When executable code in one <a href=#concept-script title=concept-script>script</a> makes a call to another <a href=#concept-script title=concept-script>script</a>, the user agent must <a href=#jump-to-a-code-entry-point title="jump to a code entry-point">jump</a> to the corresponding - code entry-point in that second script.<p>Any time the user agent to invoke a callback defined in a <a href=#concept-script title=concept-script>script</a>, the user agent must <a href=#jump-to-a-code-entry-point title="jump to a code entry-point">jump</a> to the corresponding + given code entry-point.<p>When executable code from a <a href=#concept-script title=concept-script>script</a> in one <a href=#script-group>script + group</a> makes a call to a <a href=#concept-script title=concept-script>script</a> in another <a href=#script-group>script + group</a>, the user agent must <a href=#jump-to-a-code-entry-point title="jump to a code + entry-point">jump</a> to the corresponding code entry-point in + that second script using the steps above.<p>When executable code from a <a href=#concept-script title=concept-script>script</a> makes a call to a <a href=#concept-script title=concept-script>script</a> in the same <a href=#script-group>script + group</a>, the <a href=#script-execution-environment title="script execution environment">script + execution environment</a> for the <a href=#concept-script title=concept-script>script</a> must execute the code for the + given code entry-point without checking if the <a href=#script-group>script + group</a> is frozen.<p class=note>In particular, this means that scripts in a + <i>frozen</i> <a href=#script-group>script group</a> can keep on executing so + long as they don't call code in another <a href=#script-group>script + group</a>. This is why a script doesn't immediately terminate + after calling <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> + on its own <code>Document</code>.<p>Any time the user agent to invoke a callback defined in a <a href=#concept-script title=concept-script>script</a>, the user agent must <a href=#jump-to-a-code-entry-point title="jump to a code entry-point">jump</a> to the corresponding code entry-point in that second script.<h5 id=creating-scripts><span class=secno>5.4.3.3 </span>Creating scripts</h5><p>When the specification says that a <a href=#concept-script title=concept-script>script</a> is to be <dfn id=create-a-script title="create a script">created</dfn>, given some script source, its scripting language, a global object, a browsing context, a character encoding, @@ -30951,8 +30964,11 @@ <code>Document</code> object than the <a href=#current-entry>current entry</a> then the user agent must run the following substeps:</p> - <ol><li>Freeze the <a href=#active-document>active document</a>'s <a href=#current-script-group>current - script group</a>.</li> + <ol><li><p>Freeze the <a href=#active-document>active document</a>'s <a href=#current-script-group>current + script group</a>, as well as the <a href=#current-script-group>current script + group</a> of any <a href=#active-document title="active document">active + documents</a> in <a href=#nested-browsing-context title="nested browsing context">nested + browsing contexts</a>.</li> <li>The user agent must move any properties that have been added to the browsing context's default view's <code><a href=#window>Window</a></code> @@ -31006,8 +31022,11 @@ <a href=#list-of-added-properties>list of added properties</a> to browsing context's default view's <code><a href=#window>Window</a></code> object.</li> - <li>Unfreeze the <a href=#active-document>active document</a>'s <a href=#current-script-group>current - script group</a>.</li> + <li><p>Unfreeze the <a href=#active-document>active document</a>'s <a href=#current-script-group>current + script group</a>, as well as the <a href=#current-script-group>current script + group</a> of any <a href=#active-document title="active document">active + documents</a> in <a href=#nested-browsing-context title="nested browsing context">nested + browsing contexts</a>.</li> </ol></li>
Received on Tuesday, 23 December 2008 03:45:19 UTC