Skip to content

Commit d977990

Browse files
committed
minor editorial changes to client*
1 parent da44896 commit d977990

2 files changed

Lines changed: 15 additions & 12 deletions

File tree

cssom-view/Overview.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,19 +1140,22 @@ <h3 id=client-attributes><span class=secno>5.3. </span>The <code
11401140
id=dom-element-clientleft><code>clientLeft</code></dfn>, <dfn
11411141
id=dom-element-clientwidth><code>clientWidth</code></dfn>, and <dfn
11421142
id=dom-element-clientheight><code>clientHeight</code></dfn> attributes <em
1143-
class=ct>must</em> return zero if the element does not have an associated
1144-
CSS layout box or if the layout box is inline. Otherwise, these attributes
1145-
<em class=ct>must</em> behave as defined in the remainder of this section.
1143+
class=ct>must</em> return zero if the element does not have any associated
1144+
CSS layout box or if the CSS layout box is inline. Otherwise, these
1145+
attributes <em class=ct>must</em> behave as defined in the remainder of
1146+
this section.
11461147

11471148
<p>The <a href="#dom-element-clienttop"><code>clientTop</code></a>
1148-
attribute returns the computed value of the <code>border-top-width</code>
1149-
property plus the width of any scrollbar rendered between the top <a
1149+
attribute returns the computed value of the &lsquo;<code
1150+
class=css><code>border-top-width</code></code>&rsquo; property plus the
1151+
width of any scrollbar rendered between the top <a
11501152
href="#padding-edge">padding edge</a> and the top <a
11511153
href="#border-edge">border edge</a>.
11521154

11531155
<p>The <a href="#dom-element-clientleft"><code>clientLeft</code></a>
1154-
attribute returns the computed value of the <code>border-left-width</code>
1155-
property plus the width of any scrollbar rendered between the left <a
1156+
attribute returns the computed value of the &lsquo;<code
1157+
class=css><code>border-left-width</code></code>&rsquo; property plus the
1158+
width of any scrollbar rendered between the left <a
11561159
href="#padding-edge">padding edge</a> and the left <a
11571160
href="#border-edge">border edge</a>.
11581161

cssom-view/Overview.src.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -904,19 +904,19 @@ <h3 id="client-attributes">The <code title="">clientTop</code>,
904904
<dfn id="dom-element-clientwidth"><code>clientWidth</code></dfn>, and
905905
<dfn id="dom-element-clientheight"><code>clientHeight</code></dfn>
906906
attributes <em class="ct">must</em> return zero if the element does not
907-
have an associated CSS layout box or if the layout box is inline.
907+
have any associated CSS layout box or if the CSS layout box is inline.
908908
Otherwise, these attributes <em class="ct">must</em> behave as defined in
909909
the remainder of this section.</p>
910910

911911
<p>The <code>clientTop</code> attribute returns the computed value of the
912-
<code>border-top-width</code> property plus the width of any scrollbar
912+
'<code>border-top-width</code>' property plus the width of any scrollbar
913913
rendered between the top <span>padding edge</span> and the top
914914
<span>border edge</span>.</p>
915915

916916
<p>The <code>clientLeft</code> attribute returns the computed
917-
value of the <code>border-left-width</code> property plus the width of any
918-
scrollbar rendered between the left <span>padding edge</span> and the left
919-
<span>border edge</span>.
917+
value of the '<code>border-left-width</code>' property plus the width of
918+
any scrollbar rendered between the left <span>padding edge</span> and the
919+
left <span>border edge</span>.
920920

921921
<p>The <code>clientWidth</code> attribute returns the
922922
<span>viewport</span> width excluding the size of a rendered scroll bar

0 commit comments

Comments
 (0)