W3C home > Mailing lists > Public > public-html-diffs@w3.org > December 2008

spec/Overview.html 1.1700 2529 MAJOR CHANGES: Revamp the way scripts ar

From: poot <cvsmail@w3.org>
Date: Fri, 12 Dec 2008 17:49:26 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20081212084926.96A542BC6F@toro.w3.mag.keio.ac.jp>

MAJOR CHANGES: Revamp the way scripts are specified, along with their
interaction with resolving relative URLs, etc. Give enough detail to
justify objects in the DOM not being garbage collected randomly when
still in use. Define script groups, to handle scripts going away during
document.open() and session history navigation. Define why and how
setTimeout(), database transactions, etc, handle page transitions. Drop
the terms 'with' and 'without' script, use script is
'enabled'/'disabled' instead. Define 'unload' and 'beforeunload'. Rework
how onfoo='' and .onfoo event handler attributes are defined. Rework how
the content model of <noscript> is defined. Reword the way javascript:
is defined to use the new terminology. Add a few notes of things that
came up while I was doing all that. (whatwg r2529)

MediaModeAbstractView
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1700.html#mediamodeabstractview
Status of this document
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1700.html#status-of-this-document
A vocabulary and associated APIs for HTML and XHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1700.html#a-vocabulary-and-associated-apis-for-html-and-xhtml
Editor's Draft 12 December 2008
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1700.html#editor-s-draft-date-zzz-9-june-2008
setInterval(...)
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1700.html#dom-windowtimers-setinterval
11.5 Rendering and the DOM
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1700.html#rendering-and-the-dom
clearInterval()
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1700.html#dom-windowtimers-clearinterval

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1699&r2=1.1700&f=h
http://html5.org/tools/web-apps-tracker?from=2528&to=2529

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1699
retrieving revision 1.1700
diff -u -d -r1.1699 -r1.1700
--- Overview.html	3 Dec 2008 01:27:42 -0000	1.1699
+++ Overview.html	12 Dec 2008 08:46:29 -0000	1.1700
@@ -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-->3 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-->12 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.
[...1984 lines suppressed...]
+  <code><a href=#window>Window</a></code> object on which the <code title=setTimeout>setTimeout()</code> method was invoked.<p class=XXX>Need to define <var title="">language</var> values;
+  need to define that the <a href=#concept-script title=concept-script>script</a>
+  corresponding to the <var title="">code</var> argument is created
+  before the timer is set up, so that the rule on pausing the ticker,
+  below, makes sense.<p>The <dfn id=dom-windowtimers-setinterval title=dom-windowtimers-setInterval><code>setInterval(...)</code></dfn>
   variants must work in the same way as the <code>setTimeout</code>
   variants except that if <var title="">timeout</var> is a value
   greater than zero, the <a href=#concept-task title=concept-task>task</a> that
@@ -44232,7 +44619,10 @@
   methods take one integer (the value returned by <code title=dom-windowtimers-setTimeout><a href=#dom-windowtimers-settimeout>setTimeout()</a></code> and <code title=dom-windowtimers-setInterval><a href=#dom-windowtimers-setinterval>setInterval()</a></code>
   respectively) and must cancel the specified timeout. When called
   with a value that does not correspond to an active timeout or
-  interval, the methods must return without doing anything.<h3 id=rendering-and-the-dom><span class=secno>11.5 </span>Rendering and the DOM</h3><p class=XXX>This section is expected to be moved to its own
+  interval, the methods must return without doing anything.<p>For both <code title=dom-windowtimers-setTimeout><a href=#dom-windowtimers-settimeout>setTimeout()</a></code> and <code title=dom-windowtimers-setInterval><a href=#dom-windowtimers-setinterval>setInterval()</a></code>, the clock
+  upon which the timers are based must only tick while the
+  <a href=#script-group>script group</a> of their callbacks is not
+  <i>frozen</i>.<h3 id=rendering-and-the-dom><span class=secno>11.5 </span>Rendering and the DOM</h3><p class=XXX>This section is expected to be moved to its own
   specification in due course. It needs a lot of work to actually make
   it into a semi-decent spec.<p>Any object implement the <code>AbstractView</code> interface must
   also implement the <code><a href=#mediamodeabstractview>MediaModeAbstractView</a></code> interface.<pre class=idl>interface <dfn id=mediamodeabstractview>MediaModeAbstractView</dfn> {
Received on Friday, 12 December 2008 08:50:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:13:57 GMT