@@ -346,7 +346,7 @@ <h4>Types of style sheets</h4>
346346 attribute on the < code > StyleSheet</ code > object is neither < code > null</ code >
347347 nor the empty string.</ p >
348348
349- < p class ="issue "> Each style sheet can have one or more mediums associated with
349+ < p class ="issue "> Each style sheet can have one or more media associated with
350350 it. [CSS3MQ]</ p >
351351
352352 < p > An < dfn > associated style sheet</ dfn > is a style sheet that is explicitly
@@ -852,9 +852,9 @@ <h3>The <code>StyleSheet</code> Interface</h3>
852852
853853 < h3 > The < code > MediaList</ code > Interface</ h3 >
854854
855- < p > The < code > MediaList</ code > object represents the various mediums applicable
855+ < p > The < code > MediaList</ code > object represents the various media applicable
856856 to a style sheet or rule. It also has methods for removing and adding new
857- mediums .</ p >
857+ media .</ p >
858858
859859 < p > In bindings that allow it, enumerating a < code > MediaList</ code > object
860860 < em class ="ct "> must</ em > enumerate through the currently stored and
@@ -899,7 +899,7 @@ <h3>The <code>MediaList</code> Interface</h3>
899899 < dt > < dfn id ="medialist-length " title ="medialist-length "> < code > length</ code > </ dfn >
900900 of type < code > unsigned long</ code > </ dt >
901901
902- < dd > This attribute < em class ="ct "> must</ em > be the number of mediums in the
902+ < dd > This attribute < em class ="ct "> must</ em > be the number of media in the
903903 list.</ dd >
904904
905905 < dt > < dfn id ="medialist-item " title ="medialist-item "> < code > item</ code > </ dfn > ,
@@ -1211,7 +1211,7 @@ <h4>The <code>CSSMediaRule</code> Interface</h4>
12111211
12121212 < p > The < code > @media</ code > at-rule is represented as a single statement in the
12131213 CSS style sheet that contains zero or more rulesets (not at-rules) which are
1214- contrained by one or more mediums (unless one happens to be
1214+ contrained by one or more media (unless one happens to be
12151215 < code > all</ code > ).</ p >
12161216
12171217 < pre class ="idl "> interface < dfn > CSSMediaRule</ dfn > : < span > CSSRule</ span > {
@@ -1669,16 +1669,16 @@ <h3>The <code>ElementDimensions</code> Interface</h3>
16691669}</ pre >
16701670
16711671 < h4 > The < code > offset< var > *</ var > </ code > attributes</ h4 >
1672-
1672+
16731673 < h5 > Determining < code > offsetParent</ code > </ h5 >
1674-
1674+
16751675 < p > The < dfn > < code > offsetParent</ code > </ dfn > attribute for < code > Element</ code >
16761676 node < var > A</ var > when < var > A</ var > is < span > the < code > html</ code >
16771677 element</ span > <!-- XXX ref --> or < span > the < code > body</ code > element</ span >
16781678 <!-- XXX or Map when used for image maps --> or its computed value of the
16791679 < code > position</ code > property is < code > fixed</ code > < em class ="ct "> must</ em >
16801680 be < code > null</ code > .</ p >
1681-
1681+
16821682 <!--
16831683 When node A implements the HTMLAreaElement when it's used for image maps
16841684 offsetParent must be the corresponding HTMLMapElement.
@@ -1687,24 +1687,24 @@ <h5>Determining <code>offsetParent</code></h5>
16871687 < p > Otherwise, the < code > offsetParent</ code > attribute of < var > A</ var >
16881688 < em class ="ct "> must</ em > be the nearest ancestor for which at least one of the
16891689 following is true:</ p >
1690-
1690+
16911691 < ul >
16921692 < li > The computed value of the < code > position</ code > property of the ancestor
16931693 is not < code > static</ code > .</ li >
1694-
1694+
16951695 < li > The ancestor is < span > the < code > body</ code > element</ span > .</ li >
16961696
16971697 < li >
16981698 < p > The computed value of the < code > position</ code > property of < var > A</ var >
16991699 is < code > static</ code > and the ancestor is one of the following HTML
17001700 elements: < code > td</ code > , < code > th</ code > or < code > table</ code > .</ li >
17011701 </ ul >
1702-
1702+
17031703 < p > If no such ancestor is found < code > offsetParent</ code >
17041704 < em class ="ct "> must</ em > be < code > null</ code > .</ p >
1705-
1705+
17061706 < h5 > < code > offsetLeft</ code > and < code > offsetRight</ code > </ h5 >
1707-
1707+
17081708 < p > The < dfn > < code > offsetLeft</ code > </ dfn > attribute of < code > Element</ code >
17091709 node < var > A</ var > < em class ="ct "> must</ em > be the number of pixels that the
17101710 top border edge of < var > A</ var > is to the right of the top border edge of
@@ -1714,7 +1714,7 @@ <h5><code>offsetLeft</code> and <code>offsetRight</code></h5>
17141714 < em class ="ct "> must</ em > be the number of pixels that the top border edge of
17151715 < var > A</ var > is to the right of the origin (0,0) of the initial containing
17161716 block.</ p >
1717-
1717+
17181718 < p > The < dfn > < code > offsetRight</ code > </ dfn > attribute of < code > Element</ code >
17191719 node < var > A</ var > < em class ="ct "> must</ em > be the number of pixels that the
17201720 top border edge of < var > A</ var > is below the top border edge of
@@ -1724,59 +1724,59 @@ <h5><code>offsetLeft</code> and <code>offsetRight</code></h5>
17241724 < em class ="ct "> must</ em > be the number of pixels that the top border edge of
17251725 < var > A</ var > is below the origin (0,0) of the initial containing
17261726 block.</ p >
1727-
1727+
17281728 < p > When < var > A</ var > is < span > the < code > body</ code > element</ span >
17291729 < code > offsetLeft</ code > and < code > offsetRight</ code > < em class ="ct "> must</ em >
17301730 be < code > null</ code > .</ p >
1731-
1731+
17321732 < p class ="issue "> See source code for some remarks on < code > html:map</ code >
17331733 elements.</ p >
17341734 <!--
17351735 They must also be 0 when A implements the HTMLMapElement interface and is
17361736 used as an image map. When node A implements the HTMLAreaElement interface
17371737 and is used for image maps offsetLeft and offsetTop must be determined as
17381738 follows:
1739-
1740- The shape attribute is set to default
1741- offsetLeft and offsetTop are 0.
1742- The shape attribute is set to circle
1743- offsetLeft is the center-x value minus the radius and offsetTop is the center-y value minus the radius.
1744- The shape attribute is set to rect
1745- The shape attribute is set to poly
1739+
1740+ The shape attribute is set to default
1741+ offsetLeft and offsetTop are 0.
1742+ The shape attribute is set to circle
1743+ offsetLeft is the center-x value minus the radius and offsetTop is the center-y value minus the radius.
1744+ The shape attribute is set to rect
1745+ The shape attribute is set to poly
17461746 offsetLeft is the minimum of all x values and offsetTop is the minimum of all y values.
17471747 -->
1748-
1748+
17491749 < h5 > < code > offsetWidth</ code > and < code > offsetHeight</ code > </ h5 >
1750-
1750+
17511751 < p class ="issue "> It seems these are reasonable consistent with
17521752 < code > offsetLeft</ code > and < code > offsetRight</ code > ...</ p >
1753-
1753+
17541754 <!--
17551755 To determine the offsetWidth of node A:
17561756 border-left-width + padding-left-width + width + padding-right-width + \
17571757 border-right-width
1758-
1758+
17591759 For height you follow a similar algorithm
17601760 -->
17611761
17621762 < h4 > The < code > scroll< var > *</ var > </ code > attributes</ h4 >
17631763
17641764 < p class ="issue "> ...</ p >
1765-
1765+
17661766 < h4 > The < code > client< var > *</ var > </ code > attributes</ h4 >
1767-
1767+
17681768 < p class ="issue "> ...</ p >
17691769 <!--
17701770 The clientWidth and clientHeight of element A is the width and height of the padding box, excluding any horizontal or vertical scrollbar generated by the element.
1771-
1771+
17721772In strict mode clientWidth and clientHeight of the root element (HTML) is the viewport (initial containing block) width and height.
1773-
1773+
17741774In quirks mode clientWidth and clientHeight of the BODY element is the viewport (initial containing block) width and height. In quirks mode clientWidth and clientHeight of the root element (HTML) is viewport (initial containing block) width and root element padding height.
1775-
1775+
17761776What clientWidth and clientHeight are when A is an inline box is not defined.
1777-
1777+
17781778 -->
1779-
1779+
17801780 < div class ="issue ">
17811781
17821782 < pre > So client* 0,0 area is the top left padding edge of the element.
@@ -1801,25 +1801,27 @@ <h4>The <code>client<var>*</var></code> attributes</h4>
18011801 </ div >
18021802
18031803 < h2 class ="no-num "> Acknowledgements</ h2 >
1804-
1804+
18051805 < p > The editor would like to thank to the following people who have contributed
18061806 to this specification (ordered on first name):</ p >
1807-
1807+
18081808 < ul >
18091809 < li > Alexey Feldgendler</ li >
1810-
1810+
18111811 < li > Björn Höhrmann</ li >
1812-
1812+
18131813 < li > Hallvord R. M. Steen</ li >
1814-
1814+
18151815 < li > Ian Hickson</ li >
1816-
1816+
18171817 < li > Morten Stenshorne</ li >
1818-
1818+
18191819 < li > Robert O'Callahan</ li >
1820-
1820+
18211821 < li > Sjoerd Visscher</ li >
1822-
1822+
1823+ < li > Simon Pieters</ li >
1824+
18231825 < li > Tarquin Wilton-Jones</ li >
18241826 </ ul >
18251827
0 commit comments