Skip to content

Commit be79d0d

Browse files
committed
rename 'dimensions' to simply 'Layout'
1 parent 7c7d281 commit be79d0d

2 files changed

Lines changed: 30 additions & 31 deletions

File tree

cssom/Overview.html

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ <h2 class="no-num no-toc" id=toc>Table of Contents</h2>
146146
<code>MediaList</code> Interface</a>
147147
</ul>
148148

149-
<li><a href="#processing"><span class=secno>3. </span>Processing Cascading
150-
Style Sheets</a>
149+
<li><a href="#cascading"><span class=secno>3. </span>Cascading Style
150+
Sheets APIs</a>
151151
<ul class=toc>
152152
<li><a href="#introduction0"><span class=secno>3.1.
153153
</span>Introduction</a>
@@ -237,14 +237,13 @@ <h2 class="no-num no-toc" id=toc>Table of Contents</h2>
237237
</ul>
238238
</ul>
239239

240-
<li><a href="#querying"><span class=secno>4. </span>Querying dimensions
241-
and screen information</a>
240+
<li><a href="#layout"><span class=secno>4. </span>Layout APIs</a>
242241
<ul class=toc>
243-
<li><a href="#the-windowdimensions"><span class=secno>4.1. </span>The
244-
<code>WindowDimensions</code> Interface</a>
242+
<li><a href="#the-windowlayout"><span class=secno>4.1. </span>The
243+
<code>WindowLayout</code> Interface</a>
245244

246-
<li><a href="#the-elementdimensions"><span class=secno>4.2. </span>The
247-
<code>ElementDimensions</code> Interface</a>
245+
<li><a href="#the-elementlayout"><span class=secno>4.2. </span>The
246+
<code>ElementLayout</code> Interface</a>
248247
<ul class=toc>
249248
<li><a href="#the-getclientrects"><span class=secno>4.2.1. </span>The
250249
<code>getClientRects()</code> and <code>getBoundingClientRect</code>
@@ -1323,8 +1322,7 @@ <h3 id=the-medialist><span class=secno>2.8. </span>The <code><a
13231322
removed from the collection.
13241323
</dl>
13251324

1326-
<h2 id=processing><span class=secno>3. </span>Processing Cascading Style
1327-
Sheets</h2>
1325+
<h2 id=cascading><span class=secno>3. </span>Cascading Style Sheets APIs</h2>
13281326

13291327
<p class=issue>It would be very nice if parsing of style sheets was well
13301328
defined. (Similar to parsing in HTML5.) That would make this section
@@ -2059,16 +2057,16 @@ <h4 id=the-csslengthpropertyvalue><span class=secno>3.7.4. </span>The
20592057

20602058
<p class=issue>... some exception for when conversion isn't possible.
20612059

2062-
<h2 id=querying><span class=secno>4. </span>Querying dimensions and screen
2063-
information</h2>
2060+
<h2 id=layout><span class=secno>4. </span>Layout APIs</h2>
2061+
<!-- Also need EventLayout -->
20642062

20652063
<p><em>This section and its subsections apply to visual user agents
20662064
only.</em>
20672065

2068-
<h3 id=the-windowdimensions><span class=secno>4.1. </span>The <code><a
2069-
href="#windowdimensions">WindowDimensions</a></code> Interface</h3>
2066+
<h3 id=the-windowlayout><span class=secno>4.1. </span>The <code><a
2067+
href="#windowlayout">WindowLayout</a></code> Interface</h3>
20702068

2071-
<pre class=idl>interface <dfn id=windowdimensions>WindowDimensions</dfn> {
2069+
<pre class=idl>interface <dfn id=windowlayout>WindowLayout</dfn> {
20722070
// do we need these given the attributes below?
20732071
readonly attribute float innerWidth;
20742072
readonly attribute float innerHeight;
@@ -2093,11 +2091,10 @@ <h3 id=the-windowdimensions><span class=secno>4.1. </span>The <code><a
20932091
readonly attribute float pixelDepth; // maps colorDepth..
20942092
};</pre>
20952093

2096-
<h3 id=the-elementdimensions><span class=secno>4.2. </span>The <code><a
2097-
href="#elementdimensions">ElementDimensions</a></code> Interface</h3>
2094+
<h3 id=the-elementlayout><span class=secno>4.2. </span>The <code><a
2095+
href="#elementlayout">ElementLayout</a></code> Interface</h3>
20982096

2099-
<pre
2100-
class=idl>interface <dfn id=elementdimensions>ElementDimensions</dfn> {
2097+
<pre class=idl>interface <dfn id=elementlayout>ElementLayout</dfn> {
21012098
<a href="#textrectanglelist">TextRectangleList</a> <a href="#getclientrects">getClientRects</a>();
21022099
<a href="#textrectangle">TextRectangle</a> <a href="#getboundingclientrect">getBoundingClientRect</a>();
21032100

@@ -2367,5 +2364,5 @@ <h2 class=no-num id=acknowledgements>Acknowledgements</h2>
23672364

23682365
<p>Also many thanks to the Windows Internet Explorer team for first
23692366
shipping many of the features introduced on <code><a
2370-
href="#elementdimensions">ElementDimensions</a></code> and <code><a
2371-
href="#windowdimensions">WindowDimensions</a></code>.
2367+
href="#elementlayout">ElementLayout</a></code> and <code><a
2368+
href="#windowlayout">WindowLayout</a></code>.

cssom/Overview.src.html

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -909,11 +909,11 @@ <h3>The <code>MediaList</code> Interface</h3>
909909
<p>On getting this attribute <em class="ct">must</em> be a comma-separated
910910
list of <span title="canon-media">normalized media queries</span> or the
911911
empty string otherwise.</p>
912-
912+
913913
<p>On setting a <code>SYNTAX_ERR</code> exception <em class="ct">must</em>
914914
be thrown if the given media query or comma-separated list of media queries
915915
is invalid. Otherwise the value is set to the given value.</p>
916-
916+
917917
<p class="issue">Should setting to "foobar" work? Need to test!!11!</p>
918918
</dd>
919919

@@ -953,7 +953,7 @@ <h3>The <code>MediaList</code> Interface</h3>
953953

954954
</dl>
955955

956-
<h2>Processing Cascading Style Sheets</h2>
956+
<h2>Cascading Style Sheets APIs</h2>
957957

958958
<p class="issue">It would be very nice if parsing of style sheets was well
959959
defined. (Similar to parsing in HTML5.) That would make this section easier to
@@ -1627,14 +1627,16 @@ <h4>The <code>CSSLengthPropertyValue</code> Interface</h4>
16271627
<p class="issue">... some exception for when conversion isn't
16281628
possible.</p>
16291629

1630-
<h2>Querying dimensions and screen information</h2>
1630+
<h2>Layout APIs</h2>
1631+
1632+
<!-- Also need EventLayout -->
16311633

16321634
<p><em>This section and its subsections apply to visual user agents
16331635
only.</em></p>
16341636

1635-
<h3>The <code>WindowDimensions</code> Interface</h3>
1637+
<h3>The <code>WindowLayout</code> Interface</h3>
16361638

1637-
<pre class="idl">interface <dfn>WindowDimensions</dfn> {
1639+
<pre class="idl">interface <dfn>WindowLayout</dfn> {
16381640
// do we need these given the attributes below?
16391641
readonly attribute float innerWidth;
16401642
readonly attribute float innerHeight;
@@ -1659,9 +1661,9 @@ <h3>The <code>WindowDimensions</code> Interface</h3>
16591661
readonly attribute float pixelDepth; // maps colorDepth..
16601662
};</pre>
16611663

1662-
<h3>The <code>ElementDimensions</code> Interface</h3>
1664+
<h3>The <code>ElementLayout</code> Interface</h3>
16631665

1664-
<pre class="idl">interface <dfn>ElementDimensions</dfn> {
1666+
<pre class="idl">interface <dfn>ElementLayout</dfn> {
16651667
<span>TextRectangleList</span> <span>getClientRects</span>();
16661668
<span>TextRectangle</span> <span>getBoundingClientRect</span>();
16671669

@@ -1916,7 +1918,7 @@ <h2 class="no-num">Acknowledgements</h2>
19161918
of the alternate style sheets API, canonicalization rules and proposals for
19171919
"author-friendly" interfaces. -->
19181920
<p>Also many thanks to the Windows Internet Explorer team for first shipping
1919-
many of the features introduced on <code>ElementDimensions</code> and
1920-
<code>WindowDimensions</code>.</p>
1921+
many of the features introduced on <code>ElementLayout</code> and
1922+
<code>WindowLayout</code>.</p>
19211923
</body>
19221924
</html>

0 commit comments

Comments
 (0)