- From: Anne van Kesteren via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 06 Jul 2011 13:27:58 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/cssom-view In directory hutz:/tmp/cvs-serv31210 Modified Files: Overview.html Overview.src.html Log Message: cleanup MouseEvent xrefs; ClientRectList.item cannot be invoked with a negative int Index: Overview.html =================================================================== RCS file: /sources/public/csswg/cssom-view/Overview.html,v retrieving revision 1.103 retrieving revision 1.104 diff -u -d -r1.103 -r1.104 --- Overview.html 6 Jul 2011 13:21:01 -0000 1.103 +++ Overview.html 6 Jul 2011 13:27:56 -0000 1.104 @@ -1204,76 +1204,74 @@ <h2 id="extensions-to-the-mouseevent-interface"><span class="secno">9 </span>Extensions to the <code title="">MouseEvent</code> Interface</h2> <pre class="idl">partial interface <a href="#mouseevent">MouseEvent</a> { - readonly attribute long <a href="#dom-mouseevent-screenx" title="dom-mouseevent-screenx">screenX</a>; - readonly attribute long <a href="#dom-mouseevent-screeny" title="dom-mouseevent-screeny">screenY</a>; + readonly attribute long <a href="#dom-mouseevent-screenx" title="dom-MouseEvent-screenX">screenX</a>; + readonly attribute long <a href="#dom-mouseevent-screeny" title="dom-MouseEvent-screenY">screenY</a>; - readonly attribute long <a href="#dom-mouseevent-pagex">pageX</a>; - readonly attribute long <a href="#dom-mouseevent-pagey">pageY</a>; + readonly attribute long <a href="#dom-mouseevent-pagex" title="dom-MouseEvent-pageX">pageX</a>; + readonly attribute long <a href="#dom-mouseevent-pagey" title="dom-MouseEvent-pageY">pageY</a>; - readonly attribute long <a href="#dom-mouseevent-clientx">clientX</a>; - readonly attribute long <a href="#dom-mouseevent-clienty">clientY</a>; - readonly attribute long <a href="#dom-mouseevent-x" title="dom-mouseevent-x">x</a>; - readonly attribute long <a href="#dom-mouseevent-y" title="dom-mouseevent-y">y</a>; + readonly attribute long <a href="#dom-mouseevent-clientx" title="dom-MouseEvent-clientX">clientX</a>; + readonly attribute long <a href="#dom-mouseevent-clienty" title="dom-MouseEvent-clientY">clientY</a>; + readonly attribute long <a href="#dom-mouseevent-x" title="dom-MouseEvent-x">x</a>; + readonly attribute long <a href="#dom-mouseevent-y" title="dom-MouseEvent-y">y</a>; - readonly attribute long <a href="#dom-mouseevent-offsetx">offsetX</a>; - readonly attribute long <a href="#dom-mouseevent-offsety">offsetY</a>; + readonly attribute long <a href="#dom-mouseevent-offsetx" title="dom-MouseEvent-offsetX">offsetX</a>; + readonly attribute long <a href="#dom-mouseevent-offsety" title="dom-MouseEvent-offsetY">offsetY</a>; };</pre> <p class="XXX">The object IDL fragment redefines some members. Can we resolve this somehow?</p> <p>The - <dfn id="dom-mouseevent-screenx" title="dom-mouseevent-screenx"><code title="dom-Window-screenX">screenX</code></dfn> + <dfn id="dom-mouseevent-screenx" title="dom-MouseEvent-screenX"><code>screenX</code></dfn> attribute must return the x-coordinate of the position where the event occurred relative to the origin of the screen.</p> <p>The - <dfn id="dom-mouseevent-screeny" title="dom-mouseevent-screeny"><code title="dom-Window-screenY">screenY</code></dfn> + <dfn id="dom-mouseevent-screeny" title="dom-MouseEvent-screenY"><code>screenY</code></dfn> attribute must return the y-coordinate of the position where the event occurred relative to the origin of the screen.</p> - <p>The <dfn id="dom-mouseevent-pagex"><code>pageX</code></dfn> attribute + <p>The <dfn id="dom-mouseevent-pagex" title="dom-MouseEvent-pageX"><code>pageX</code></dfn> attribute must return the horizontal coordinate of the position where the event occurred relative to the origin of the <a href="#initial-containing-block">initial containing block</a>.</p> - <p>The <dfn id="dom-mouseevent-pagey"><code>pageY</code></dfn> attribute + <p>The <dfn id="dom-mouseevent-pagey" title="dom-MouseEvent-pageY"><code>pageY</code></dfn> attribute must return the y-coordinate of the position where the event occurred relative to the origin of the <a href="#initial-containing-block">initial containing block</a>.</p> - <p>The <dfn id="dom-mouseevent-clientx"><code>clientX</code></dfn> + <p>The <dfn id="dom-mouseevent-clientx" title="dom-MouseEvent-clientX"><code>clientX</code></dfn> attribute must return the x-coordinate of the position where the event occurred relative to the origin of the <a href="#viewport">viewport</a>.</p> - <p>The <dfn id="dom-mouseevent-clienty"><code>clientY</code></dfn> + <p>The <dfn id="dom-mouseevent-clienty" title="dom-MouseEvent-clientY"><code>clientY</code></dfn> attribute must return the y-coordinate of the position where the event occurred relative to the origin of the <a href="#viewport">viewport</a>.</p> - <p>The - <dfn id="dom-mouseevent-x" title="dom-mouseevent-x"><code>x</code></dfn> + <p>The <dfn id="dom-mouseevent-x" title="dom-MouseEvent-x""><code>x</code></dfn> attribute must return the value of - <code><a href="#dom-mouseevent-clientx">clientX</a></code>.</p> + <code title="dom-MouseEvent-clientX"><a href="#dom-mouseevent-clientx">clientX</a></code>.</p> - <p>The - <dfn id="dom-mouseevent-y" title="dom-mouseevent-y"><code>y</code></dfn> + <p>The <dfn id="dom-mouseevent-y" title="dom-MouseEvent-y"><code>y</code></dfn> attribute must return the value of - <code><a href="#dom-mouseevent-clienty">clientY</a></code>.</p> + <code title="dom-MouseEvent-clientY"><a href="#dom-mouseevent-clienty">clientY</a></code>.</p> <!-- x/y do not match IE in the position:relative case but do match other browsers --> - <p>The <dfn id="dom-mouseevent-offsetx"><code>offsetX</code></dfn> + <p>The <dfn id="dom-mouseevent-offsetx" title="dom-MouseEvent-offsetX"><code>offsetX</code></dfn> attribute must return the x-coordinate of the position where the event occurred relative to the origin of the <a href="#padding-edge">padding edge</a> of the target node.</p> - <p>The <dfn id="dom-mouseevent-offsety"><code>offsetY</code></dfn> + <p>The <dfn id="dom-mouseevent-offsety" title="dom-MouseEvent-offsetY"><code>offsetY</code></dfn> attribute must return the y-coordinate of the position where the event occurred relative to the origin of the <a href="#padding-edge">padding edge</a> of the target node.</p> @@ -1291,23 +1289,22 @@ of <code><a href="#clientrect">ClientRect</a></code> objects.</p> <pre class="idl">interface <dfn id="clientrectlist">ClientRectList</dfn> { - readonly attribute unsigned long <a href="#dom-clientrectlist-length" title="dom-clientrectlist-length">length</a>; - getter <a href="#clientrect">ClientRect</a> <a href="#dom-clientrectlist-item" title="dom-clientrectlist-item">item</a>(unsigned long <var title="">index</var>); + readonly attribute unsigned long <a href="#dom-clientrectlist-length" title="dom-ClientRectList-length">length</a>; + getter <a href="#clientrect">ClientRect</a> <a href="#dom-clientrectlist-item" title="dom-ClientRectList-item">item</a>(unsigned long <var title="">index</var>); };</pre> <p>The - <dfn id="dom-clientrectlist-length" title="dom-clientrectlist-length"><code>length</code></dfn> + <dfn id="dom-clientrectlist-length" title="dom-ClientRectList-length"><code>length</code></dfn> attribute must return the total number of <code><a href="#clientrect">ClientRect</a></code> objects associated with the object.</p> <p>The - <dfn id="dom-clientrectlist-item" title="dom-clientrectlist-item"><code>item(<var title="">index</var>)</code></dfn> + <dfn id="dom-clientrectlist-item" title="dom-ClientRectList-item"><code>item(<var>index</var>)</code></dfn> method, when invoked, must raise an <code>INDEX_SIZE_ERR</code> exception when <var title="">index</var> is - negative or greater than the number of <code><a href="#clientrect">ClientRect</a></code> objects - associated with the object. Otherwise, the <code><a href="#clientrect">ClientRect</a></code> - object at <var title="">index</var> must be - returned.</p> + greater than the number of <code><a href="#clientrect">ClientRect</a></code> objects associated with + the object. Otherwise, the <code><a href="#clientrect">ClientRect</a></code> object at + <var title="">index</var> must be returned.</p> <h3 id="the-clientrect-interface"><span class="secno">10.2 </span>The <code title="">ClientRect</code> Interface</h3> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/cssom-view/Overview.src.html,v retrieving revision 1.104 retrieving revision 1.105 diff -u -d -r1.104 -r1.105 --- Overview.src.html 6 Jul 2011 13:21:01 -0000 1.104 +++ Overview.src.html 6 Jul 2011 13:27:56 -0000 1.105 @@ -1175,76 +1175,74 @@ <h2 id="extensions-to-the-mouseevent-interface">Extensions to the <code title>MouseEvent</code> Interface</h2> <pre class="idl">partial interface <span>MouseEvent</span> { - readonly attribute long <span title="dom-mouseevent-screenx" title=dom-Window-screenX>screenX</span>; - readonly attribute long <span title="dom-mouseevent-screeny" title=dom-Window-screenY>screenY</span>; + readonly attribute long <span title=dom-MouseEvent-screenX>screenX</span>; + readonly attribute long <span title=dom-MouseEvent-screenY>screenY</span>; - readonly attribute long <span>pageX</span>; - readonly attribute long <span>pageY</span>; + readonly attribute long <span title=dom-MouseEvent-pageX>pageX</span>; + readonly attribute long <span title=dom-MouseEvent-pageY>pageY</span>; - readonly attribute long <span>clientX</span>; - readonly attribute long <span>clientY</span>; - readonly attribute long <span title="dom-mouseevent-x">x</span>; - readonly attribute long <span title="dom-mouseevent-y">y</span>; + readonly attribute long <span title=dom-MouseEvent-clientX>clientX</span>; + readonly attribute long <span title=dom-MouseEvent-clientY>clientY</span>; + readonly attribute long <span title="dom-MouseEvent-x">x</span>; + readonly attribute long <span title="dom-MouseEvent-y">y</span>; - readonly attribute long <span>offsetX</span>; - readonly attribute long <span>offsetY</span>; + readonly attribute long <span title=dom-MouseEvent-offsetX>offsetX</span>; + readonly attribute long <span title=dom-MouseEvent-offsetY>offsetY</span>; };</pre> <p class="XXX">The object IDL fragment redefines some members. Can we resolve this somehow?</p> <p>The - <dfn id="dom-mouseevent-screenx" title="dom-mouseevent-screenx"><code title=dom-Window-screenX>screenX</code></dfn> + <dfn title=dom-MouseEvent-screenX><code>screenX</code></dfn> attribute must return the x-coordinate of the position where the event occurred relative to the origin of the screen.</p> <p>The - <dfn id="dom-mouseevent-screeny" title="dom-mouseevent-screeny"><code title=dom-Window-screenY>screenY</code></dfn> + <dfn title=dom-MouseEvent-screenY><code>screenY</code></dfn> attribute must return the y-coordinate of the position where the event occurred relative to the origin of the screen.</p> - <p>The <dfn id="dom-mouseevent-pagex"><code>pageX</code></dfn> attribute + <p>The <dfn title=dom-MouseEvent-pageX><code>pageX</code></dfn> attribute must return the horizontal coordinate of the position where the event occurred relative to the origin of the <span>initial containing block</span>.</p> - <p>The <dfn id="dom-mouseevent-pagey"><code>pageY</code></dfn> attribute + <p>The <dfn title=dom-MouseEvent-pageY><code>pageY</code></dfn> attribute must return the y-coordinate of the position where the event occurred relative to the origin of the <span>initial containing block</span>.</p> - <p>The <dfn id="dom-mouseevent-clientx"><code>clientX</code></dfn> + <p>The <dfn title=dom-MouseEvent-clientX><code>clientX</code></dfn> attribute must return the x-coordinate of the position where the event occurred relative to the origin of the <span>viewport</span>.</p> - <p>The <dfn id="dom-mouseevent-clienty"><code>clientY</code></dfn> + <p>The <dfn title=dom-MouseEvent-clientY><code>clientY</code></dfn> attribute must return the y-coordinate of the position where the event occurred relative to the origin of the <span>viewport</span>.</p> - <p>The - <dfn id="dom-mouseevent-x" title="dom-mouseevent-x"><code>x</code></dfn> + <p>The <dfn title=dom-MouseEvent-x"><code>x</code></dfn> attribute must return the value of - <code>clientX</code>.</p> + <code title=dom-MouseEvent-clientX>clientX</code>.</p> - <p>The - <dfn id="dom-mouseevent-y" title="dom-mouseevent-y"><code>y</code></dfn> + <p>The <dfn title="dom-MouseEvent-y"><code>y</code></dfn> attribute must return the value of - <code>clientY</code>.</p> + <code title=dom-MouseEvent-clientY>clientY</code>.</p> <!-- x/y do not match IE in the position:relative case but do match other browsers --> - <p>The <dfn id="dom-mouseevent-offsetx"><code>offsetX</code></dfn> + <p>The <dfn title=dom-MouseEvent-offsetX><code>offsetX</code></dfn> attribute must return the x-coordinate of the position where the event occurred relative to the origin of the <span>padding edge</span> of the target node.</p> - <p>The <dfn id="dom-mouseevent-offsety"><code>offsetY</code></dfn> + <p>The <dfn title=dom-MouseEvent-offsetY><code>offsetY</code></dfn> attribute must return the y-coordinate of the position where the event occurred relative to the origin of the <span>padding edge</span> of the target node.</p> @@ -1262,23 +1260,22 @@ of <code>ClientRect</code> objects.</p> <pre class="idl">interface <dfn>ClientRectList</dfn> { - readonly attribute unsigned long <span title="dom-clientrectlist-length">length</span>; - getter <span>ClientRect</span> <span title="dom-clientrectlist-item">item</span>(unsigned long <var title>index</var>); + readonly attribute unsigned long <span title="dom-ClientRectList-length">length</span>; + getter <span>ClientRect</span> <span title="dom-ClientRectList-item">item</span>(unsigned long <var title>index</var>); };</pre> <p>The - <dfn id="dom-clientrectlist-length" title="dom-clientrectlist-length"><code>length</code></dfn> + <dfn title="dom-ClientRectList-length"><code>length</code></dfn> attribute must return the total number of <code>ClientRect</code> objects associated with the object.</p> <p>The - <dfn id="dom-clientrectlist-item" title="dom-clientrectlist-item"><code>item(<var title>index</var>)</code></dfn> + <dfn title="dom-ClientRectList-item"><code>item(<var>index</var>)</code></dfn> method, when invoked, must raise an <code>INDEX_SIZE_ERR</code> exception when <var title>index</var> is - negative or greater than the number of <code>ClientRect</code> objects - associated with the object. Otherwise, the <code>ClientRect</code> - object at <var title>index</var> must be - returned.</p> + greater than the number of <code>ClientRect</code> objects associated with + the object. Otherwise, the <code>ClientRect</code> object at + <var title>index</var> must be returned.</p> <h3 id="the-clientrect-interface">The <code title>ClientRect</code> Interface</h3>
Received on Wednesday, 6 July 2011 13:28:08 UTC