Skip to content

Commit 256de83

Browse files
committed
remove on getting
1 parent 669d486 commit 256de83

2 files changed

Lines changed: 109 additions & 116 deletions

File tree

cssom-view/Overview.html

Lines changed: 72 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727

2828
<h1 id=cssom-view-module>CSSOM View Module</h1>
2929

30-
<h2 class="no-num no-toc" id=w3c-doctype>Editor's Draft 8 April 2010</h2>
30+
<h2 class="no-num no-toc" id=w3c-doctype>Editor's Draft 9 April 2010</h2>
3131

3232
<dl>
3333
<dt>This Version:
3434

3535
<dd><a
36-
href="http://www.w3.org/TR/2010/ED-cssom-view-20100408/">http://www.w3.org/TR/2010/ED-cssom-view-20100408/</a>
36+
href="http://www.w3.org/TR/2010/ED-cssom-view-20100409/">http://www.w3.org/TR/2010/ED-cssom-view-20100409/</a>
3737

3838
<dt>Latest Version:
3939

@@ -532,18 +532,18 @@ <h3 id=the-screen-interface><span class=secno>4.2. </span>The <code
532532
};</pre>
533533

534534
<p>The <dfn id=dom-screen-availwidth><code>availWidth</code></dfn>
535-
attribute, on getting, <em class=ct>must</em> return the available width
536-
of the rendering surface of the output device.
535+
attribute <em class=ct>must</em> return the available width of the
536+
rendering surface of the output device.
537537

538538
<p>The <dfn id=dom-screen-availheight><code>availHeight</code></dfn>
539-
attribute, on getting, <em class=ct>must</em> return the available height
540-
of the rendering surface of the output device.
539+
attribute <em class=ct>must</em> return the available height of the
540+
rendering surface of the output device.
541541

542-
<p>The <dfn id=dom-screen-width><code>width</code></dfn> attribute, on
543-
getting, <em class=ct>must</em> return the width of the output device.
542+
<p>The <dfn id=dom-screen-width><code>width</code></dfn> attribute <em
543+
class=ct>must</em> return the width of the output device.
544544

545-
<p>The <dfn id=dom-screen-height><code>height</code></dfn> attribute, on
546-
getting, <em class=ct>must</em> return the height of the output device.
545+
<p>The <dfn id=dom-screen-height><code>height</code></dfn> attribute <em
546+
class=ct>must</em> return the height of the output device.
547547

548548
<p>The <dfn id=dom-screen-colordepth><code>colorDepth</code></dfn> and <dfn
549549
id=dom-screen-pixeldepth><code>pixelDepth</code></dfn> attributes <em
@@ -945,40 +945,36 @@ <h3 id=client-attributes><span class=secno>7.3. </span>The <code
945945
<p>The <dfn id=dom-element-clienttop><code>clientTop</code></dfn>, <dfn
946946
id=dom-element-clientleft><code>clientLeft</code></dfn>, <dfn
947947
id=dom-element-clientwidth><code>clientWidth</code></dfn>, and <dfn
948-
id=dom-element-clientheight><code>clientHeight</code></dfn> attributes, on
949-
getting, <em class=ct>must</em> return zero if the element does not have
950-
an associated CSS layout box or if the layout box is inline. Otherwise,
951-
these attributes <em class=ct>must</em> behave as defined in the remainder
952-
of this section.
953-
954-
<p>On getting, the <code><a
955-
href="#dom-element-clienttop">clientTop</a></code> attribute returns the
956-
computed value of the <code>border-top-width</code> property plus the
957-
width of any scrollbar rendered between the top <a
948+
id=dom-element-clientheight><code>clientHeight</code></dfn> attributes <em
949+
class=ct>must</em> return zero if the element does not have an associated
950+
CSS layout box or if the layout box is inline. Otherwise, these attributes
951+
<em class=ct>must</em> behave as defined in the remainder of this section.
952+
953+
<p>The <code><a href="#dom-element-clienttop">clientTop</a></code>
954+
attribute returns the computed value of the <code>border-top-width</code>
955+
property plus the width of any scrollbar rendered between the top <a
958956
href="#padding-edge">padding edge</a> and the top <a
959957
href="#border-edge">border edge</a>.
960958

961-
<p>On getting, the <code><a
962-
href="#dom-element-clientleft">clientLeft</a></code> attribute returns the
963-
computed value of the <code>border-left-width</code> property plus the
964-
width of any scrollbar rendered between the left <a
959+
<p>The <code><a href="#dom-element-clientleft">clientLeft</a></code>
960+
attribute returns the computed value of the <code>border-left-width</code>
961+
property plus the width of any scrollbar rendered between the left <a
965962
href="#padding-edge">padding edge</a> and the left <a
966963
href="#border-edge">border edge</a>.
967964

968-
<p>On getting, the <code><a
969-
href="#dom-element-clientwidth">clientWidth</a></code> attribute returns
970-
the <a href="#viewport">viewport</a> width excluding the size of a
971-
rendered scroll bar (if any) if the element is the root element and the
972-
width of the <a href="#padding-edge">padding edge</a> (excluding the width
973-
of any rendered scrollbar between the <a href="#padding-edge">padding
974-
edge</a> and the <a href="#border-edge">border edge</a>) otherwise.
975-
976-
<p>On getting, the <code><a
977-
href="#dom-element-clientheight">clientHeight</a></code> attribute returns
978-
the <a href="#viewport">viewport</a> height excluding the size of a
979-
rendered scroll bar (if any) if the element is the root element and the
980-
height of the <a href="#padding-edge">padding edge</a> (excluding the
981-
width of any rendered scrollbar between the <a
965+
<p>The <code><a href="#dom-element-clientwidth">clientWidth</a></code>
966+
attribute returns the <a href="#viewport">viewport</a> width excluding the
967+
size of a rendered scroll bar (if any) if the element is the root element
968+
and the width of the <a href="#padding-edge">padding edge</a> (excluding
969+
the width of any rendered scrollbar between the <a
970+
href="#padding-edge">padding edge</a> and the <a
971+
href="#border-edge">border edge</a>) otherwise.
972+
973+
<p>The <code><a href="#dom-element-clientheight">clientHeight</a></code>
974+
attribute returns the <a href="#viewport">viewport</a> height excluding
975+
the size of a rendered scroll bar (if any) if the element is the root
976+
element and the height of the <a href="#padding-edge">padding edge</a>
977+
(excluding the width of any rendered scrollbar between the <a
982978
href="#padding-edge">padding edge</a> and the <a
983979
href="#border-edge">border edge</a>) otherwise.
984980

@@ -1240,53 +1236,53 @@ <h2 id=extensions-to-the-mouseevent-interface><span class=secno>10.
12401236
this somehow?
12411237

12421238
<p>The <dfn id=dom-mouseevent-screenx
1243-
title=dom-mouseevent-screenx><code>screenX</code></dfn> attribute, on
1244-
getting, <em class=ct>must</em> return the x-coordinate of the position
1245-
where the event occurred relative to the origin of the screen.
1239+
title=dom-mouseevent-screenx><code>screenX</code></dfn> attribute <em
1240+
class=ct>must</em> return the x-coordinate of the position where the event
1241+
occurred relative to the origin of the screen.
12461242

12471243
<p>The <dfn id=dom-mouseevent-screeny
1248-
title=dom-mouseevent-screeny><code>screenY</code></dfn> attribute, on
1249-
getting, <em class=ct>must</em> return the y-coordinate of the position
1250-
where the event occurred relative to the origin of the screen.
1244+
title=dom-mouseevent-screeny><code>screenY</code></dfn> attribute <em
1245+
class=ct>must</em> return the y-coordinate of the position where the event
1246+
occurred relative to the origin of the screen.
12511247

1252-
<p>The <dfn id=dom-mouseevent-pagex><code>pageX</code></dfn> attribute, on
1253-
getting, <em class=ct>must</em> return the horizontal coordinate of the
1254-
position where the event occurred relative to the origin of the <a
1248+
<p>The <dfn id=dom-mouseevent-pagex><code>pageX</code></dfn> attribute <em
1249+
class=ct>must</em> return the horizontal coordinate of the position where
1250+
the event occurred relative to the origin of the <a
12551251
href="#initial-containing-block">initial containing block</a>.
12561252

1257-
<p>The <dfn id=dom-mouseevent-pagey><code>pageY</code></dfn> attribute, on
1258-
getting, <em class=ct>must</em> return the y-coordinate of the position
1259-
where the event occurred relative to the origin of the <a
1253+
<p>The <dfn id=dom-mouseevent-pagey><code>pageY</code></dfn> attribute <em
1254+
class=ct>must</em> return the y-coordinate of the position where the event
1255+
occurred relative to the origin of the <a
12601256
href="#initial-containing-block">initial containing block</a>.
12611257

1262-
<p>The <dfn id=dom-mouseevent-clientx><code>clientX</code></dfn> attribute,
1263-
on getting, <em class=ct>must</em> return the x-coordinate of the position
1264-
where the event occurred relative to the origin of the <a
1258+
<p>The <dfn id=dom-mouseevent-clientx><code>clientX</code></dfn> attribute
1259+
<em class=ct>must</em> return the x-coordinate of the position where the
1260+
event occurred relative to the origin of the <a
12651261
href="#viewport">viewport</a>.
12661262

1267-
<p>The <dfn id=dom-mouseevent-clienty><code>clientY</code></dfn> attribute,
1268-
on getting, <em class=ct>must</em> return the y-coordinate of the position
1269-
where the event occurred relative to the origin of the <a
1263+
<p>The <dfn id=dom-mouseevent-clienty><code>clientY</code></dfn> attribute
1264+
<em class=ct>must</em> return the y-coordinate of the position where the
1265+
event occurred relative to the origin of the <a
12701266
href="#viewport">viewport</a>.
12711267

12721268
<p>The <dfn id=dom-mouseevent-x title=dom-mouseevent-x><code>x</code></dfn>
1273-
attribute, on getting, <em class=ct>must</em> return the value of <code><a
1269+
attribute <em class=ct>must</em> return the value of <code><a
12741270
href="#dom-mouseevent-clientx">clientX</a></code>.
12751271

12761272
<p>The <dfn id=dom-mouseevent-y title=dom-mouseevent-y><code>y</code></dfn>
1277-
attribute, on getting, <em class=ct>must</em> return the value of <code><a
1273+
attribute <em class=ct>must</em> return the value of <code><a
12781274
href="#dom-mouseevent-clienty">clientY</a></code>.</p>
12791275
<!-- x/y do not match IE in the position:relative case but do match other
12801276
browsers -->
12811277

1282-
<p>The <dfn id=dom-mouseevent-offsetx><code>offsetX</code></dfn> attribute,
1283-
on getting, <em class=ct>must</em> return the x-coordinate of the position
1284-
where the event occurred relative to the origin of the <a
1278+
<p>The <dfn id=dom-mouseevent-offsetx><code>offsetX</code></dfn> attribute
1279+
<em class=ct>must</em> return the x-coordinate of the position where the
1280+
event occurred relative to the origin of the <a
12851281
href="#padding-edge">padding edge</a> of the target node.
12861282

1287-
<p>The <dfn id=dom-mouseevent-offsety><code>offsetY</code></dfn> attribute,
1288-
on getting, <em class=ct>must</em> return the y-coordinate of the position
1289-
where the event occurred relative to the origin of the <a
1283+
<p>The <dfn id=dom-mouseevent-offsety><code>offsetY</code></dfn> attribute
1284+
<em class=ct>must</em> return the y-coordinate of the position where the
1285+
event occurred relative to the origin of the <a
12901286
href="#padding-edge">padding edge</a> of the target node.
12911287

12921288
<h2 id=rectangles><span class=secno>11. </span>Rectangles</h2>
@@ -1337,37 +1333,36 @@ <h3 id=the-clientrect-interface><span class=secno>11.2. </span>The <code
13371333
};</pre>
13381334

13391335
<p>The <dfn id=dom-clientrect-top
1340-
title=dom-clientrect-top><code>top</code></dfn> attribute, on getting, <em
1336+
title=dom-clientrect-top><code>top</code></dfn> attribute <em
13411337
class=ct>must</em> return the y-coordinate, relative to the <a
13421338
href="#viewport">viewport</a> origin, of the top of the rectangle box.
13431339

13441340
<p>The <dfn id=dom-clientrect-right
1345-
title=dom-clientrect-right><code>right</code></dfn> attribute, on getting,
1346-
<em class=ct>must</em> return the x-coordinate, relative to the <a
1341+
title=dom-clientrect-right><code>right</code></dfn> attribute <em
1342+
class=ct>must</em> return the x-coordinate, relative to the <a
13471343
href="#viewport">viewport</a> origin, of the right of the rectangle box.
13481344

13491345
<p>The <dfn id=dom-clientrect-bottom
1350-
title=dom-clientrect-bottom><code>bottom</code></dfn> attribute, on
1351-
getting, <em class=ct>must</em> return the y-coordinate, relative to the
1352-
<a href="#viewport">viewport</a> origin, of the bottom of the rectangle
1353-
box.
1346+
title=dom-clientrect-bottom><code>bottom</code></dfn> attribute <em
1347+
class=ct>must</em> return the y-coordinate, relative to the <a
1348+
href="#viewport">viewport</a> origin, of the bottom of the rectangle box.
13541349

13551350
<p>The <dfn id=dom-clientrect-left
1356-
title=dom-clientrect-left><code>left</code></dfn> attribute, on getting,
1357-
<em class=ct>must</em> return the x-coordinate, relative to the <a
1351+
title=dom-clientrect-left><code>left</code></dfn> attribute <em
1352+
class=ct>must</em> return the x-coordinate, relative to the <a
13581353
href="#viewport">viewport</a> origin, of the left of the rectangle box.
13591354

13601355
<p>The <dfn id=dom-clientrect-width
1361-
title=dom-clientrect-width><code>width</code></dfn> attribute, on getting,
1362-
<em class=ct>must</em> return the width of the rectangle box.
1356+
title=dom-clientrect-width><code>width</code></dfn> attribute <em
1357+
class=ct>must</em> return the width of the rectangle box.
13631358

13641359
<p class=note>This is identical to <code title=dom-clientrect-right><a
13651360
href="#dom-clientrect-right">right</a></code> minus <code
13661361
title=dom-clientrect-left><a href="#dom-clientrect-left">left</a></code>.
13671362

13681363
<p>The <dfn id=dom-clientrect-height
1369-
title=dom-clientrect-height><code>height</code></dfn> attribute, on
1370-
getting, <em class=ct>must</em> return the height of the rectangle box.
1364+
title=dom-clientrect-height><code>height</code></dfn> attribute <em
1365+
class=ct>must</em> return the height of the rectangle box.
13711366

13721367
<p class=note>This is identical to <code title=dom-clientrect-bottom><a
13731368
href="#dom-clientrect-bottom">bottom</a></code> minus <code

0 commit comments

Comments
 (0)