- From: Anne van Kesteren via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 06 Jul 2011 13:06:43 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/cssom-view In directory hutz:/tmp/cvs-serv26860 Modified Files: Overview.html Overview.src.html Added Files: Makefile Log Message: Anolis Index: Overview.html =================================================================== RCS file: /sources/public/csswg/cssom-view/Overview.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- Overview.html 23 Jun 2011 16:58:03 -0000 1.100 +++ Overview.html 6 Jul 2011 13:06:41 -0000 1.101 @@ -1,7 +1,4 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> - -<html lang=en-US> - <head> +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><html lang="en-US"><head> <title>CSSOM View Module</title> <style type="text/css"> @@ -18,298 +15,235 @@ code { color:orangered } code :link, code :visited { color:inherit } [...2541 lines suppressed...] + Peter-Paul Koch, + Rachel Kmetz, + Robert O'Callahan, + Sam Weinig, + Simon Pieters, + Sylvain Galineau, + Tarquin Wilton-Jones, + Thomas Moore, and + Xiaomei Ji<!-- should actually use real name here --> + + for their contributions to this document.</p> <p>Special thanks to the Microsoft employees who first implemented many of - the features specified in this draft, which were first widely deployed by - the Windows Internet Explorer browser. + the features specified in this draft, which were first widely deployed by + the Windows Internet Explorer browser.</p> + + + --- NEW FILE: Makefile --- ANOLIS = anolis all: Overview.html data/xrefs/css/cssom-view.json Overview.html: Overview.src.html data Makefile $(ANOLIS) --output-encoding=ascii --omit-optional-tags --quote-attr-values \ --w3c-compat --enable=xspecxref --enable=refs --w3c-shortname="cssom-view" \ --filter=".publish" $< $@ data/xrefs/css/cssom-view.json: Overview.src.html Makefile $(ANOLIS) --dump-xrefs=$@ $< /tmp/spec publish: Overview.src.html data Makefile $(ANOLIS) --output-encoding=ascii --omit-optional-tags --quote-attr-values \ --w3c-compat --enable=xspecxref --enable=refs --w3c-shortname="cssom-view" \ --filter=".dontpublish" --pubdate="$(PUBDATE)" --w3c-status=WD \ $< Overview.html Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/cssom-view/Overview.src.html,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -r1.101 -r1.102 --- Overview.src.html 23 Jun 2011 16:58:03 -0000 1.101 +++ Overview.src.html 6 Jul 2011 13:06:41 -0000 1.102 @@ -32,13 +32,14 @@ <dl> <dt>This Version:</dt> - <dd><a href="[VERSION]/">http://www.w3.org/TR/[YEAR]/ED-cssom-view-[CDATE]/</a></dd> + <dd class=dontpublish><a href="http://dev.w3.org/csswg/cssom-view/">http://dev.w3.org/csswg/cssom-view/</a></dd> + <dd class=publish><a href="[VERSION]">[VERSION]</a></dd> - <dt>Latest Version:</dt> - <dd><a href="http://www.w3.org/TR/cssom-view/">http://www.w3.org/TR/cssom-view/</a></dd> + <dt class=publish>Latest Version:</dt> + <dd class=publish><a href="[LATEST]">[LATEST]</a></dd> - <dt>Latest Editor Version:</dt> - <dd><a href="http://dev.w3.org/csswg/cssom-view/">http://dev.w3.org/csswg/cssom-view/</a></dd> + <dt class=publish>Latest Editor Version:</dt> + <dd class=publish><a href="http://dev.w3.org/csswg/cssom-view/">http://dev.w3.org/csswg/cssom-view/</a></dd> <dt>Previous Versions:</dt> <dd><a href="http://www.w3.org/TR/2009/WD-cssom-view-20090804/">http://www.w3.org/TR/2009/WD-cssom-view-20090804/</a></dd> @@ -66,7 +67,42 @@ <h2 id="sotd" class="no-num no-toc">Status of this Document</h2> - <!-- status --> + <p><em>This section describes the status of this document at the time of + its publication. Other documents may supersede this document. A list of + current W3C publications and the latest revision of this technical report + can be found in the <a href="http://www.w3.org/TR/">W3C technical reports + index at http://www.w3.org/TR/.</a></em> + + <p>Publication as a Working Draft does not imply endorsement by the W3C + Membership. This is a draft document and may be updated, replaced or + obsoleted by other documents at any time. It is inappropriate to cite this + document as other than work in progress. + + <p>The (<a + href="http://lists.w3.org/Archives/Public/www-style/">archived</a>) public + mailing list <a href="mailto:www-style@w3.org">www-style@w3.org</a> (see + <a href="http://www.w3.org/Mail/Request">instructions</a>) is preferred + for discussion of this specification. When sending e-mail, please put the + text “cssom-view” in the subject, preferably like this: + “[<!---->cssom-view<!---->] <em>…summary of + comment…</em>” + + <p>This document was produced by the <a + href="http://www.w3.org/Style/CSS/members">CSS Working Group</a> (part of + the <a href="http://www.w3.org/Style/">Style Activity</a>). + + <p>This document was produced by a group operating under the <a + href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February + 2004 W3C Patent Policy</a>. W3C maintains a <a + href="http://www.w3.org/2004/01/pp-impl/32061/status" + rel=disclosure>public list of any patent disclosures</a> made in + connection with the deliverables of the group; that page also includes + instructions for disclosing a patent. An individual who has actual + knowledge of a patent which the individual believes contains <a + href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential + Claim(s)</a> must disclose the information in accordance with <a + href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section + 6 of the W3C Patent Policy</a>.</p> @@ -85,7 +121,7 @@ are not you can bug us!)</p> - <h2 id="conformance">Conformance Criteria</h2> + <h2 id="conformance">Conformance</h2> <p>Everything in this specification is normative except for diagrams, examples, notes and sections marked non-normative.</p> @@ -95,7 +131,7 @@ are to be interpreted as described in RFC 2119.--> <p>The key word <em class="ct">must</em> in this document is to be interpreted as described in RFC 2119. - <a href="#ref-rfc2119">[RFC2119]</a></p> + <span data-anolis-ref>RFC2119</span> <p>A conforming user agent implements all the requirements made by this specification.</p> @@ -105,56 +141,44 @@ <p>The IDL fragments in this specification <em class="ct">must</em> be interpreted as required for conforming IDL fragments, as described in the - Web IDL specification. <a href="#ref-webidl">[WebIDL]</a></p> + Web IDL specification. <span data-anolis-ref>WEBIDL</span> <h3 id="terminology">Terminology</h3> - <p><dfn><code>Document</code></dfn> and <dfn><code>Element</code></dfn> - are defined by DOM Core. <a href="#ref-domcore">[DOMCore]</a>]</p> - - <p><dfn><code>Range</code></dfn> is defined in - DOM Range. <a href="#ref-domrange">[DOMRange]</a></p> - - <p><dfn><code>MouseEvent</code></dfn> is defined in DOM Level 2 Events. - <a href="#ref-dom2events">[DOM2Events]</a></p> - - <p> - <dfn>Serialize a media query list</dfn> and - <dfn>parse a media query list</dfn> - are defined by the CSSOM. <a href="#ref-cssom">[CSSOM]</a></p> + <p>Terminology used in this specification is from + DOM Core, + DOM Range, + CSSOM and + HTML. + <span data-anolis-ref>DOMCORE</span> + <span data-anolis-ref>DOMRANGE</span> + <span data-anolis-ref>CSSOM</span> + <span data-anolis-ref>HTML</span> - <p> - <dfn id="fire-a-simple-event" title="Fire a simple event">Firing a simple event named <var title="">e</var></dfn>, - <dfn>HTML element</dfn>, - <dfn><code>HTMLElement</code></dfn>, - <dfn>queue a task</dfn>, - <dfn>quirks mode</dfn>, - <dfn>same origin</dfn>, - <dfn>task</dfn>, and - <dfn><code>Window</code></dfn> - are defined by HTML. <a href="#ref-html">[HTML]</a></p> + <p class=XXX><dfn><code>MouseEvent</code></dfn> is defined in … <p><dfn>The HTML <code>body</code> element</dfn> is the first - <code>body</code> <span>HTML element</span> child of the root - <span>HTML element</span> <code>html</code>.</p> + <code>body</code> + <span data-anolis-spec=html title="HTML elements">HTML element</span> child of the root + <span data-anolis-spec=html title="HTML elements">HTML element</span> <code>html</code>.</p> <p><dfn id="content-edge">Content edge</dfn>, <dfn id="padding-edge">padding edge</dfn>, <dfn id="border-edge">border edge</dfn>, and - <dfn id="canvas">canvas</dfn> are defined by CSS 2.1. - <a href="#ref-css">[CSS21]</a></p> + <dfn id="canvas">canvas</dfn> are defined by CSS. + <!--<span data-anolis-ref>CSS</span>--> <p><dfn id="viewport">Viewport</dfn> and <dfn id="initial-containing-block">initial containing block</dfn> are defined by CSS 2.1 unless there is an ancestor <code>foreignObject</code> element in the <code>http://www.w3.org/2000/svg</code> namespace in which case that element acts as viewport and initial containing block. - <a href="#ref-css">[CSS21]</a> <a href="#ref-svg">[SVG]</a></p> + <!--<span data-anolis-ref>CSS</span>--> <p>The term <dfn>content</dfn> refers to the dimensions of the element's content area, including overflown content. - <a href="#ref-css">[CSS21]</a></p> + <!--<span data-anolis-ref>CSS</span>--> <p>The term <dfn>document content</dfn> refers to the area on the <span>canvas</span> that is rendered upon, excluding content on negative @@ -164,17 +188,17 @@ <h3>CSS pixels</h3> <p>All coordinates and dimensions for the APIs defined in this - specification are in CSS pixels. <a href="#ref-css">[CSS21]</a></p> + specification are in CSS pixels. <!--<span data-anolis-ref>CSS</span>--> <p class="note">This does not apply to e.g. - <code title="dom-Window-matchMedia">matchMedia()</code> as the units + <code title=dom-Window-matchMedia>matchMedia()</code> as the units are explicitly given there.</p> <h2 id="extensions-to-the-window-interface">Extensions to the <code title="">Window</code> Interface</h2> - <pre class="idl">partial interface <span>Window</span> { + <pre class="idl">partial interface <span data-anolis-spec=html>Window</span> { <span>MediaQueryList</span> <span title="dom-Window-matchMedia">matchMedia</span>(DOMString <var title="">media_query_list</var>); readonly attribute <span>Screen</span> <span title="dom-Window-screen">screen</span>; @@ -200,7 +224,7 @@ <p>When the - <dfn id="dom-window-matchmedia" title="dom-Window-matchMedia"><code>matchMedia(<var title="">media_query_list</var>)</code></dfn> + <dfn title="dom-Window-matchMedia"><code>matchMedia(<var title="">media_query_list</var>)</code></dfn> method is invoked these steps must be run:</p> <ol> @@ -209,19 +233,19 @@ <var title="">media_query_list</var>.</p></li> <li><p>Return a <em>new</em> <code>MediaQueryList</code> object, - associated with the <code>Window</code> object, with + associated with the <code data-anolis-spec=html>Window</code> object, with <var title="">parsed_media_query_list</var> as its associated media query list.</p></li> </ol> <p>The - <dfn id="dom-window-screen" title="dom-Window-screen"><code>screen</code></dfn> + <dfn title=dom-Window-screen><code>screen</code></dfn> attribute <em class="ct">must</em> return the <code>Screen</code> object - associated with the <code>Window</code> object. It always returns the same + associated with the <code data-anolis-spec=html>Window</code> object. It always returns the same object.</p> - <p class="note">Accessing <code title="dom-Window-screen">screen</code> through a <code>WindowProxy</code> object might yield different results - when the <code>Document</code> is navigated.</p> + <p class="note">Accessing <code title="dom-Window-screen">screen</code> through a <code data-anolis-spec=html>WindowProxy</code> object might yield different results + when the <code data-anolis-spec=domcore>Document</code> is navigated.</p> <p>The <dfn id="dom-window-innerwidth"><code>innerWidth</code></dfn> @@ -242,21 +266,21 @@ (if any).</p> <p>The - <dfn id="dom-window-scrollx" title="dom-Window-scrollX"><code>scrollX</code></dfn> and - <dfn id="dom-window-pagexoffset" title="dom-Window-pageXOffset"><code>pageXOffset</code></dfn> + <dfn title="dom-Window-scrollX"><code>scrollX</code></dfn> and + <dfn title="dom-Window-pageXOffset"><code>pageXOffset</code></dfn> attributes <em class="ct">must</em> return the x-coordinate, relative to the <span>initial containing block</span> origin, of the left of the <span>viewport</span>.</p> <p>The - <dfn id="dom-window-scrolly" title="dom-Window-scrollY"><code>scrollY</code></dfn> and - <dfn id="dom-window-pageyoffset" title="dom-Window-pageYOffset"><code>pageYOffset</code></dfn> + <dfn title="dom-Window-scrollY"><code>scrollY</code></dfn> and + <dfn title="dom-Window-pageYOffset"><code>pageYOffset</code></dfn> attributes <em class="ct">must</em> return the y-coordinate, relative to the <span>initial containing block</span> origin, of the top of the <span>viewport</span>.</p> <p>When the - <dfn id="dom-window-scroll" title="dom-Window-scroll"><code>scroll(<var title="">x</var>,<var title="">y</var>)</code></dfn> + <dfn title="dom-Window-scroll"><code>scroll(<var title="">x</var>,<var title="">y</var>)</code></dfn> method is invoked these steps <em class="ct">must</em> be run:</p> <ol> @@ -286,22 +310,23 @@ and align the y-coordinate <var title="">y</var> of the <span>document content</span> with the top of the <span>viewport</span>.</p></li> - <li><p>If the aligning caused content to move <span>queue a task</span> - to <span>fire a simple event</span> named - <code title="event-scroll">scroll</code> that bubbles at the - <code>Document</code> object, unless a - <span>task</span> to fire that event at the <code>Document</code> object - was already <span title="queue a task">queued</span>.</p></li> + <li><p>If the aligning caused content to move <span data-anolis-spec=html>queue a task</span> + to + <span data-anolis-spec=domcore title=concept-event-fire>fire an event</span> + named <code title="event-scroll">scroll</code> that bubbles at the + <code data-anolis-spec=domcore>Document</code> object, unless a + <span data-anolis-spec=html title=concept-task>task</span> to fire that event at the <code data-anolis-spec=domcore>Document</code> object + was already <span data-anolis-spec=html title="queue a task">queued</span>.</p></li> </ol> <p>When the - <dfn id="dom-window-scrollto" title="dom-Window-scrollto"><code>scrollTo(<var title="">x</var>,<var title="">y</var>)</code></dfn> + <dfn title="dom-Window-scrollto"><code>scrollTo(<var title="">x</var>,<var title="">y</var>)</code></dfn> method is invoked, the user agent <em class="ct">must</em> act as if the <code title="dom-Window-scroll">scroll()</code> method was invoked with the same arguments.</p> <p>When the - <dfn id="dom-window-scrollby" title="dom-Window-scrollby"><code>scrollBy(<var title="">x</var>,<var title="">y</var>)</code></dfn> + <dfn title="dom-Window-scrollby"><code>scrollBy(<var title="">x</var>,<var title="">y</var>)</code></dfn> method is invoked, the user agent <em class="ct">must</em> act as if the <code title="dom-Window-scroll">scroll()</code> method was invoked with <var title="">x</var> plus <code title="dom-Window-scrollX">scrollX</code> @@ -341,7 +366,7 @@ <p>If the associated media query list changes in evaluation then, for each listener in the <span>list of media query list listeners</span> — in - appending order, <span>queue a task</span> that invokes the listener, + appending order, <span data-anolis-spec=html>queue a task</span> that invokes the listener, passing as argument the <code>MediaQueryList</code> object.</p> <div class="example"> @@ -364,32 +389,31 @@ void <span title="dom-MediaQueryList-removeListener">removeListener</span>(<span>MediaQueryListListener</span> <var title="">listener</var>); }; -[Callback=FunctionOnly, NoInterfaceObject] +[Callback, NoInterfaceObject] interface <dfn id="mediaquerylistlistener">MediaQueryListListener</dfn> { void <span>handleChange</span>(<span>MediaQueryList</span> <var title="">mql</var>); };</pre> <p>The - <dfn id="dom-MediaQueryList-media" title="dom-MediaQueryList-media"><code>media</code></dfn> + <dfn title="dom-MediaQueryList-media"><code>media</code></dfn> <em class="ct">must</em> return the <span title="serialize a media query list">serialized</span> form of the associated media query list.</p> - <p>The - <dfn id="dom-MediaQueryList-matches" title="dom-MediaQueryList-matches"><code>matches</code></dfn> + <p>The <dfn title="dom-MediaQueryList-matches"><code>matches</code></dfn> <em class="ct">must</em> return true if the associated media query list - matches the state of the rendered <code>Document</code> and false if it + matches the state of the rendered <code data-anolis-spec=domcore>Document</code> and false if it does not.</p> <p>When the - <dfn id="dom-mediaquerylist-addlistener" title="dom-MediaQueryList-addListener"><code>addListener(<var title="">listener</var>)</code></dfn> + <dfn title="dom-MediaQueryList-addListener"><code>addListener(<var>listener</var>)</code></dfn> is invoked <var title="">listener</var> <em class="ct">must</em> be appended to the <span>list of media query list listeners</span>, unless it is already in the <span>list of media query list listeners</span>.</p> <p>When the - <dfn id="dom-mediaquerylist-removelistener" title="dom-MediaQueryList-removeListener"><code>removeListener(<var title="">listener</var>)</code></dfn> - is invoked <var title="">listener</var> <e class="ct">must</em> be removed - from the <span>list of media query list listeners</span>.</p> + <dfn title="dom-MediaQueryList-removeListener"><code>removeListener(<var>listener</var>)</code></dfn> + is invoked <var title="">listener</var> <em class="ct">must</em> be + removed from the <span>list of media query list listeners</span>.</p> @@ -432,8 +456,8 @@ <h2 id="extensions-to-the-document-interface">Extensions to the <code title="">Document</code> Interface</h2> - <pre class="idl">partial interface <span>Document</span> { - Element? <span>elementFromPoint</span>(float <var title="">x</var>, float <var title="">y</var>); + <pre class="idl">partial interface <span data-anolis-spec=domcore>Document</span> { + <span data-anolis-spec=domcore>Element</span>? <span>elementFromPoint</span>(float <var title="">x</var>, float <var title="">y</var>); <span>CaretPosition</span>? <span>caretPositionFromPoint</span>(float <var title="">x</var>, float <var title="">y</var>); };</pre> @@ -489,9 +513,10 @@ <li> <p>Otherwise, return a <span>caret position</span> where the - <span>caret range</span> is a collapsed <code>Range</code> object for - the position where the text insertion point indicator would have been - inserted and the other properties are set as follows:</p> + <span>caret range</span> is a collapsed + <code data-anolis-spec=domrange>Range</code> object for the position + where the text insertion point indicator would have been inserted and + the other properties are set as follows:</p> <dl> <dt><span>caret node</span></dt> @@ -524,15 +549,15 @@ <pre class="idl">interface <dfn id="caretposition">CaretPosition</dfn> { readonly attribute <span>Node</span> <span title="dom-CaretPosition-offsetNode">offsetNode</span>; readonly attribute unsigned long <span title="dom-CaretPosition-offset">offset</span>;<!-- - readonly attribute <span>Range</span>? <span title="dom-CaretPosition-range">range</span>;--> + readonly attribute <span data-anolis-spec=domrange>Range</span>? <span title="dom-CaretPosition-range">range</span>;--> };</pre> <p>The - <dfn id="dom-caretposition-offsetnode" title="dom-CaretPosition-offsetNode"><code>offsetNode</code></dfn> + <dfn title="dom-CaretPosition-offsetNode"><code>offsetNode</code></dfn> attribute <em class="ct">must</em> return the <span>caret node</span>.</p> <p>The - <dfn id="dom-caretposition-offset" title="dom-CaretPosition-offset"><code>offset</code></dfn> + <dfn title="dom-CaretPosition-offset"><code>offset</code></dfn> attribute <em class="ct">must</em> return the <span>caret offset</span>.</p> <!-- @@ -545,7 +570,7 @@ <h2 id="extensions-to-the-element-interface">Extensions to the <code title="">Element</code> Interface</h2> - <pre class="idl">partial interface <span>Element</span> { + <pre class="idl">partial interface <span data-anolis-spec=domcore>Element</span> { <span>ClientRectList</span> <span>getClientRects</span>(); <span>ClientRect</span> <span>getBoundingClientRect</span>(); @@ -588,7 +613,7 @@ <code>ClientRectList</code> object containing a single <code>ClientRect</code> object that describes the bounding box of the element as defined by the SVG specification. - <a href="#ref-svg">[SVG]</a></p></li> + <span data-anolis-ref>SVG</span> <li> <p>Return a <code>ClientRectList</code> object containing a list of @@ -601,13 +626,13 @@ value for <code>display</code> property of <code>table</code> or <code>inline-table</code> include both the table box and the caption box, if any, but not the anonymous container box. - <a href="#ref-css">[CSS21]</a></p></li> + <!--<span data-anolis-ref>CSS</span>--> <li><p>Replace each <a href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level">anonymous block box</a> with its child box(es) and repeat this until no anonymous block boxes are left in the final list. - <a href="#ref-css">[CSS21]</a></p></li> + <!--<span data-anolis-ref>CSS</span>--> </ul> </li> </ol> @@ -652,9 +677,10 @@ scrolling box, in order of innermost to outermost scrolling box:</p> <ol> - <li><p>If the <code>Document</code> associated with the element to be - scrolled into view is not <span>same origin</span> with the - <code>Document</code> associated with the element or + <li><p>If the <code data-anolis-spec=domcore>Document</code> associated + with the element to be + scrolled into view is not <span data-anolis-spec=html>same origin</span> with the + <code data-anolis-spec=domcore>Document</code> associated with the element or <span>viewport</span> associated with the scrolling box, terminate these steps.</p></li> @@ -676,19 +702,19 @@ <li> <dl> <dt>If the scrolling box is associated with an element</dt> - <dd><p><span>Queue a task</span> to <span>fire a simple event</span> + <dd><p><span data-anolis-spec=html>Queue a task</span> to <span data-anolis-spec=domcore title=concept-event-fire>fire an event</span> named <code title="event-scroll">scroll</code> at the element - associated with the scrolling box, unless a <span>task</span> to fire + associated with the scrolling box, unless a <span data-anolis-spec=html title=concept-task>task</span> to fire that event at that element was already - <span title="queue a task">queued</span>.</p></dd> + <span data-anolis-spec=html title="queue a task">queued</span>.</p></dd> <dt>If the scrolling box is associated with a <span>viewport</span></dt> - <dd><p><span>Queue a task</span> to <span>fire a simple event</span> + <dd><p><span data-anolis-spec=html>Queue a task</span> to <span data-anolis-spec=domcore title=concept-event-fire>fire an event</span> named <code title="event-scroll">scroll</code> that bubbles at the - <code>Document</code> object associated with the <span>viewport</span>, - unless a <span>task</span> to fire that event at that - <code>Document</code> object was already - <span title="queue a task">queued</span>.</p></dd> + <code data-anolis-spec=domcore>Document</code> object associated with the <span>viewport</span>, + unless a <span data-anolis-spec=html title=concept-task>task</span> to fire that event at that + <code data-anolis-spec=domcore>Document</code> object was already + <span data-anolis-spec=html title="queue a task">queued</span>.</p></dd> </dl> </li> </ol> @@ -725,11 +751,11 @@ <span>content</span> y-coordinate <var title="">y</var> with the top of the <span>content edge</span> of the element.</p></li> - <li><p>If the aligning caused content to move <span>queue a task</span> - to <span>fire a simple event</span> named + <li><p>If the aligning caused content to move <span data-anolis-spec=html>queue a task</span> + to <span data-anolis-spec=domcore title=concept-event-fire>fire an event</span> named <code title="event-scroll">scroll</code> at the element, unless a - <span>task</span> to fire that event at that element was already - <span title="queue a task">queued</span>.</p></li> + <span data-anolis-spec=html title=concept-task>task</span> to fire that event at that element was already + <span data-anolis-spec=html title="queue a task">queued</span>.</p></li> </ol> @@ -753,14 +779,14 @@ <ol> <li><p>If the element does not have any associated CSS layout box or the - element is the root element and the <code>Document</code> is in - <span>quirks mode</span> return zero and terminate these steps.</p></li> + element is the root element and the <code data-anolis-spec=domcore>Document</code> is in + <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span> return zero and terminate these steps.</p></li> <li><p>If the element is the root element return the value of <code title="dom-Window-scrollY">scrollY</code>.</p></li> <li><p>If the element is <span>the HTML <code>body</code> element</span>, - the <code>Document</code> is in <span>quirks mode</span>, and the element + the <code data-anolis-spec=domcore>Document</code> is in <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span>, and the element does not have any overflow, return the value of <code title="dom-Window-scrollY">scrollY</code>.</p></li> @@ -776,8 +802,8 @@ <li><p>Let <var title="">y</var> be the given value.</p></li> <li><p>If the element does not have any associated CSS layout box, the - element is the root element and the <code>Document</code> is in - <span>quirks mode</span>, or the element has no overflow, terminate these + element is the root element and the <code data-anolis-spec=domcore>Document</code> is in + <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span>, or the element has no overflow, terminate these steps.</p></li> <li><p>If the element is the root element invoke @@ -785,7 +811,7 @@ argument and <var title="">y</var> as second.</p></li> <li><p>If the element is <span>the HTML <code>body</code> element</span>, - the <code>Document</code> is in <span>quirks mode</span>, and the element + the <code data-anolis-spec=domcore>Document</code> is in <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span>, and the element does not have any vertical overflow, invoke <code title="dom-Window-scroll">scroll()</code> with <code title="dom-Window-scrollX">scrollX</code> as first @@ -801,14 +827,14 @@ <ol> <li><p>If the element does not have any associated CSS layout box or the - element is the root element and the <code>Document</code> is in - <span>quirks mode</span> return zero and terminate these steps.</p></li> + element is the root element and the <code data-anolis-spec=domcore>Document</code> is in + <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span> return zero and terminate these steps.</p></li> <li><p>If the element is the root element return the value of <code title="dom-Window-scrollX">scrollX</code>.</p></li> <li><p>If the element is <span>the HTML <code>body</code> element</span>, - the <code>Document</code> is in <span>quirks mode</span>, and the element + the <code data-anolis-spec=domcore>Document</code> is in <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span>, and the element does not have any overflow, return the value of <code title="dom-Window-scrollX">scrollX</code>.</p></li> @@ -824,8 +850,8 @@ <li><p>Let <var title="">x</var> be the given value.</p></li> <li><p>If the element does not have any associated CSS layout box, the - element is the root element and the <code>Document</code> is in - <span>quirks mode</span>, or the element has no overflow, terminate these + element is the root element and the <code data-anolis-spec=domcore>Document</code> is in + <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span>, or the element has no overflow, terminate these steps.</p></li> <li><p>If the element is the root element invoke @@ -833,13 +859,13 @@ <var title="">x</var> as first argument and zero as second.</p></li> <li><p>If the element is <span>the HTML <code>body</code> element</span>, - the <code>Document</code> is in <span>quirks mode</span>, and the element + the <code data-anolis-spec=domcore>Document</code> is in <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span>, and the element does not have any vertical overflow, invoke <code title="dom-Window-scroll">scroll()</code> with <var title="">x</var> as first argument and <code title="dom-Window-scrollY">scrollY</code> as second.</p></li> - <li><p><span title="scroll an element">Scroll the element</span> to + <li><p><span title="Scroll an element">Scroll the element</span> to <var title="">x</var>,<code>scrollTop</code>.</p></li> </ol> @@ -851,12 +877,12 @@ <li><p>If the element does not have any associated CSS layout box return zero and terminate these steps.</p></li> - <li><p>If the element is the root element and the <code>Document</code> - is not in <span>quirks mode</span> return the value of + <li><p>If the element is the root element and the <code data-anolis-spec=domcore>Document</code> + is not in <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span> return the value of <code>innerWidth</code>.</p></li> <li><p>If the element is <span>the HTML <code>body</code> element</span> - and the <code>Document</code> is in <span>quirks mode</span> return the + and the <code data-anolis-spec=domcore>Document</code> is in <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span> return the value of <code>innerWidth</code>.</p></li> <li><p>Return the computed value of the '<code>padding-left</code>' @@ -872,12 +898,12 @@ <li><p>If the element does not have any associated CSS layout box return zero and terminate these steps.</p></li> - <li><p>If the element is the root element and the <code>Document</code> - is not in <span>quirks mode</span> return the value of + <li><p>If the element is the root element and the <code data-anolis-spec=domcore>Document</code> + is not in <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span> return the value of <code>innerHeight</code>.</p></li> <li><p>If the element is <span>the HTML <code>body</code> element</span> - and the <code>Document</code> is in <span>quirks mode</span> return the + and the <code data-anolis-spec=domcore>Document</code> is in <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span> return the value of <code>innerHeight</code>.</p></li> <li><p>Return the computed value of the '<code>padding-top</code>' @@ -929,7 +955,7 @@ <h2 id="extensions-to-the-htmlelement-interface">Extensions to the <code title="">HTMLElement</code> Interface</h2> - <pre class="idl">partial interface <span>HTMLElement</span> { + <pre class="idl">partial interface <span data-anolis-spec=html>HTMLElement</span> { readonly attribute Element <span>offsetParent</span>; readonly attribute long <span>offsetTop</span>; readonly attribute long <span>offsetLeft</span>; @@ -979,7 +1005,7 @@ <li>The computed value of the '<code>position</code>' property of the element is <code>static</code> and the ancestor is one of the - following <span title="HTML element">HTML elements</span>: + following <span data-anolis-spec=html title="HTML elements">HTML elements</span>: <code>td</code>, <code>th</code>, or <code>table</code>.</li> </ul> </li> @@ -1069,7 +1095,7 @@ <h2 id="extensions-to-the-range-interface">Extensions to the <code title="">Range</code> Interface</h2> - <pre class="idl">partial interface <span>Range</span> { + <pre class="idl">partial interface <span data-anolis-spec=domrange>Range</span> { <span>ClientRectList</span> <span title="dom-range-getclientrects">getClientRects</span>(); <span>ClientRect</span> <span title="dom-range-getboundingclientrect">getBoundingClientRect</span>(); };</pre> @@ -1296,45 +1322,24 @@ <p>All references are normative<!--, unless stated otherwise-->.</p> - <dl> - <dt id="ref-css">[CSS21]</dt> - <dd><cite><a href="http://www.w3.org/TR/CSS2/">Cascading Style Sheets - Level 2 Revision 1</a></cite>, B. Bos, T. Çelik, I. Hickson, H. - Wium Lie. W3C.</dd> - <dt id="ref-cssom">[CSSOM]</dt> - <dd><cite><a href="http://dev.w3.org/csswg/cssom/">CSSOM</a></cite> - (work in progress), A. van Kesteren. W3C.</dd> - <dt id="ref-dom2events">[DOM2Events]</dt> - <dd><cite><a href="http://www.w3.org/TR/DOM-Level-2-Events/">Document - Object Model (DOM) Level 2 Events Specification</a></cite>, T. Pixley. - W3C.</dd> - - <dt id="ref-domcore">[DOMCore]</dt> - <dd><cite><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html">DOM Core</a></cite>, A. van Kesteren, Ms2ger. W3C.</dd> +<h2 class=no-num>References</h2> +<h3 class=no-num>Normative references</h3> +<div id=anolis-references-normative></div> - <dt id="ref-domrange">[DOMRange]</dt> - <dd><cite><a href="http://html5.org/specs/dom-range.html">DOM Range</a></cite>, Ms2ger. html5.org.</dd> - <dt id="ref-html">[HTML]</dt> - <dd><cite><a href="http://dev.w3.org/html5/spec/">HTML5</a></cite> - (work in progress), I. Hickson. W3C.</dd> - <dd><cite><a href="http://www.whatwg.org/specs/web-apps/current-work/">HTML</a></cite> - (work in progress), I. Hickson. WHATWG.</dd> +<!-- +<h3 class=no-num>Informative references</h3> +<div id=anolis-references-informative></div> - <dt>[<dfn id="ref-rfc2119">RFC2119</dfn>]</dt> - <dd><cite><a href="http://ietf.org/rfc/rfc2119">Key words for use in RFCs to - Indicate Requirement Levels</a></cite>, S. Bradner. IETF.</dd> <dt id="ref-svg">[SVG]</dt> <dd><cite><a href="http://www.w3.org/TR/SVG11/">Scalable Vector Graphics (SVG) 1.1 Specification</a></cite>, J. Ferraiolo, 藤沢 淳, D. Jackson. W3C.</dd> +--> - <dt id="ref-webidl">[WebIDL]</dt> - <dd><cite><a href="http://dev.w3.org/2006/webapi/WebIDL/">Web IDL</a></cite> (work in progress), C. McCormack. W3C.</dd> - </dl> <h2 class="no-num">Acknowledgments</h2>
Received on Wednesday, 6 July 2011 13:06:55 UTC