8000 [cssom*] Editorial: style tweaks. Also moved some styles to default.css · xfq/csswg-drafts@77985a2 · GitHub
Skip to content

Commit 77985a2

Browse files
author
Simon Pieters
committed
[cssom*] Editorial: style tweaks. Also moved some styles to default.css
1 parent 1a42f67 commit 77985a2

10 files changed

Lines changed: 297 additions & 289 deletions

File tree

cssom-values/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $(XREFS): Overview.src.html Makefile
1717

1818
$(EDFILE): Overview.src.html $(XREF) Makefile
1919
$(ANOLIS) --output-encoding=utf-8 --omit-optional-tags --quote-attr-values --use-strict \
20-
--w3c-compat-substitutions --w3c-compat-xref-a-placement --enable=xspecxref --enable=refs --w3c-shortname="cssom-values" \
20+
--w3c-compat-substitutions --w3c-compat-xref-a-placement --enable=xspecxref --w3c-compat-class-toc --enable=refs --w3c-shortname="cssom-values" \
2121
--filter=".publish" $< $@; \
2222
$(SED) 's/\[/\(/g;s/\]/\)/g' <$(SRCFILE) >$(VNUFILE); \
2323
$(CURL) -F out=gnu -F content=@$(VNUFILE) http://validator.nu/; \
@@ -29,7 +29,7 @@ draft: $(EDFILE)
2929

3030
$(TRFILE): Overview.src.html $(XREF) Makefile
3131
$(ANOLIS) --output-encoding=utf-8 --omit-optional-tags --quote-attr-values --use-strict \
32-
--w3c-compat-substitutions --w3c-compat-xref-a-placement --enable=xspecxref --enable=refs --w3c-shortname="cssom-values" \
32+
--w3c-compat-substitutions --w3c-compat-xref-a-placement --enable=xspecxref --w3c-compat-class-toc --enable=refs --w3c-shortname="cssom-values" \
3333
--filter=".dontpublish" --pubdate="$(PUBDATE)" \
3434
--w3c-status=WD $< $@
3535

cssom-values/Overview.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
<h1>CSSOM Values Module</h1>
2727

28-
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 24 June 2013</h2>
28+
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 26 June 2013</h2>
2929

3030
<dl>
3131

@@ -81,15 +81,15 @@ <h2 class="no-num no-toc" id="sotd">Status of this Document</h2>
8181
can be found in the
8282
<a href="http://www.w3.org/TR/">W3C technical reports index at http://www.w3.org/TR/.</a></em>
8383

84-
<p>This is the 24 June 2013 Editor's Draft of CSSOM. Please send
84+
<p>This is the 26 June 2013 Editor's Draft of CSSOM. Please send
8585
comments to
8686
<a href="mailto:www-style@w3.org?subject=%5Bcssom-values%5D%20">www-style@w3.org</a>
8787
(<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
8888
with <samp>[cssom-values]</samp> at the start of the subject line.
8989

9090

9191
<!-- XXX include this text upon FPWD publishing
92-
<p>This is the 24 June 2013 First Public Working Draft of CSSOM, produced by the
92+
<p>This is the 26 June 2013 First Public Working Draft of CSSOM, produced by the
9393
<a href="http://www.w3.org/Style/CSS/members">CSS Working Group</a> (part
9494
of the <a href="http://www.w3.org/Style/">Style Activity</a>).
9595
-->
@@ -115,30 +115,30 @@ <h2 class="no-num no-toc" id="toc">Table of Contents</h2>
115115

116116

117117
<!--begin-toc-->
118-
<ol class="toc">
118+
<ul class="toc">
119119
<li><a href="#introduction"><span class="secno">1 </span>Introduction</a></li>
120120
<li><a href="#conformance"><span class="secno">2 </span>Conformance</a>
121-
<ol>
122-
<li><a href="#dependencies"><span class="secno">2.1 </span>Dependencies</a></ol></li>
121+
<ul class="toc">
122+
<li><a href="#dependencies"><span class="secno">2.1 </span>Dependencies</a></ul></li>
123123
<li><a href="#css-values"><span class="secno">3 </span>CSS Values</a>
124-
<ol>
124+
<ul class="toc">
125125
<li><a href="#the-cssvalue-interface"><span class="secno">3.1 </span>The <code title="">CSSValue</code> Interface</a></li>
126126
<li><a href="#the-cssstyledeclaration-interface"><span class="secno">3.2 </span>The <code title="">CSSStyleDeclaration</code> Interface</a></li>
127127
<li><a href="#the-cssstyledeclarationvalue-interface"><span class="secno">3.3 </span>The <code title="">CSSStyleDeclarationValue</code> Interface</a></li>
128128
<li><a href="#the-csspropertyvalue-interface"><span class="secno">3.4 </span>The <code title="">CSSPropertyValue</code> Interface</a></li>
129129
<li><a href="#the-csspropertyvaluelist-interface"><span class="secno">3.5 </span>The <code title="">CSSPropertyValueList</code> Interface</a></li>
130130
<li><a href="#the-cssmapvalue-interface"><span class="secno">3.6 </span>The <code title="">CSSMapValue</code> Interface</a></li>
131131
<li><a href="#the-csscomponentvalue-interface"><span class="secno">3.7 </span>The <code title="">CSSComponentValue</code> Interface</a>
132-
<ol>
132+
<ul class="toc">
133133
<li><a href="#the-csscolorcomponentvalue-interface"><span class="secno">3.7.1 </span>The <code title="">CSSColorComponentValue</code> Interface</a 2AB0 ></li>
134134
<li><a href="#the-cssidentifiercomponentvalue-interface"><span class="secno">3.7.2 </span>The <code title="">CSSIdentifierComponentValue</code> Interface</a></li>
135135
<li><a href="#the-csskeywordcomponentvalue-interface"><span class="secno">3.7.3 </span>The <code title="">CSSKeywordComponentValue</code> Interface</a></li>
136136
<li><a href="#the-csslengthcomponentvalue-interface"><span class="secno">3.7.4 </span>The <code title="">CSSLengthComponentValue</code> Interface</a></li>
137137
<li><a href="#the-csspercentagecomponentvalue-interface"><span class="secno">3.7.5 </span>The <code title="">CSSPercentageComponentValue</code> Interface</a></li>
138138
<li><a href="#the-cssstringcomponentvalue-interface"><span class="secno">3.7.6 </span>The <code title="">CSSStringComponentValue</code> Interface</a></li>
139-
<li><a href="#the-cssurlcomponentvalue-interface"><span class="secno">3.7.7 </span>The <code title="">CSSURLComponentValue</code> Interface</a></ol></ol></li>
139+
<li><a href="#the-cssurlcomponentvalue-interface"><span class="secno">3.7.7 </span>The <code title="">CSSURLComponentValue</code> Interface</a></ul></ul></li>
140140
<li><a class="no-num" href="#references">References</a></li>
141-
<li><a class="no-num" href="#acknowledgments">Acknowledgments</a></ol>
141+
<li><a class="no-num" href="#acknowledgments">Acknowledgments</a></ul>
142142
<!--end-toc-->
143143

144144
<h2 id="introduction"><span class="secno">1 </span>Introduction</h2>

cssom-values/Overview.src.html

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,6 @@
33
<head>
44
<meta charset=utf-8>
55
<title>CSSOM Values Module</title>
6-
<style>
7-
dl.switch { padding-left:2em }
8-
dl.switch > dt { text-indent:-1.5em }
9-
dl.switch > dt:before { content:'\21AA'; padding:0 0.5em 0 0; display:inline-block; width:1em; text-align:right; line-height:0.5em }
10-
.atrisk::before { position:absolute; margin-left:-5em; margin-top:-2px; padding:4px; border:1px solid; content:'At risk';
11-
font-size:smaller; background:white; color:gray; border-radius:1em; text-align:center }
12-
td { vertical-align:baseline }
13-
td, th { border:solid }
14-
table { border:hidden; border-collapse:collapse }
15-
.propdef { font:inherit; line-height:2.3 }
16-
.toc, .toc ol { list-style-type:none }
17-
</style>
186
<link rel=stylesheet href=../default.css>
197
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/W3C-[STATUS]">
208
</head>

cssom-view/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $(XREFS): Overview.src.html Makefile
1717

1818
$(EDFILE): Overview.src.html $(XREF) Makefile
1919
$(ANOLIS) --output-encoding=utf-8 --omit-optional-tags --quote-attr-values --use-strict \
20-
--w3c-compat-substitutions --w3c-compat-xref-a-placement --enable=xspecxref --enable=refs --w3c-shortname="cssom-view" \
20+
--w3c-compat-substitutions --w3c-compat-xref-a-placement --enable=xspecxref --w3c-compat-class-toc --enable=refs --w3c-shortname="cssom-view" \
2121
--filter=".publish" $< $@; \
2222
$(SED) 's/\[/\(/g;s/\]/\)/g' <$(SRCFILE) >$(VNUFILE); \
2323
$(CURL) -F out=gnu -F content=@$(VNUFILE) http://validator.nu/; \
@@ -29,7 +29,7 @@ draft: $(EDFILE)
2929

3030
$(TRFILE): Overview.src.html $(XREF) Makefile
3131
$(ANOLIS) --output-encoding=utf-8 --omit-optional-tags --quote-attr-values --use-strict \
32-
--w3c-compat-substitutions --w3c-compat-xref-a-placement --enable=xspecxref --enable=refs --w3c-shortname="cssom-view" \
32+
--w3c-compat-substitutions --w3c-compat-xref-a-placement --enable=xspecxref --w3c-compat-class-toc --enable=refs --w3c-shortname="cssom-view" \
3333
--filter=".dontpublish" --pubdate="$(PUBDATE)" \
3434
--w3c-status=WD $< $@
3535

cssom-view/Overview.html

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
dl.switch > dt:before { content:'\21AA'; padding< 7B3C span class=pl-kos>:0 0.5em 0 0; display:inline-block; width:1em; text-align:right; line-height:0.5em }
88
.atrisk::before { position:absolute; margin-left:-5em; margin-top:-2px; padding:4px; border:1px solid; content:'At risk';
99
font-size:smaller; background:white; color:gray; border-radius:1em; text-align:center }
10-
td { vertical-align:baseline }
11-
td, th { border:solid }
12-
table { border:hidden; border-collapse:collapse }
10+
td.long { vertical-align:baseline; text-align:left }
1311
.propdef { font:inherit; line-height:2.3 }
1412
.toc, .toc ol { list-style-type:none }
1513
</style>
@@ -25,7 +23,7 @@
2523

2624
<h1>CSSOM View Module</h1>
2725

28-
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 25 June 2013</h2>
26+
<h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 26 June 2013</h2>
2927

3028
<dl>
3129

@@ -92,7 +90,7 @@ <h2 class="no-num no-toc" id="sotd">Status of This Document</h2>
9290
can be found in the <a href="http://www.w3.org/TR/" 1A8A >W3C technical reports
9391
index at http://www.w3.org/TR/.</a></em>
9492

95-
<p>This is the 25 June 2013 Editor's Draft of CSSOM View. Please send
93+
<p>This is the 26 June 2013 Editor's Draft of CSSOM View. Please send
9694
comments to
9795
<a href="mailto:www-style@w3.org?subject=%5Bcssom-view%5D%20">www-style@w3.org</a>
9896
(<a href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
@@ -119,45 +117,45 @@ <h2 class="no-num no-toc" id="toc">Table of Contents</h2>
119117

120118

121119
<!--begin-toc-->
122-
<ol class="toc">
120+
<ul class="toc">
123121
<li><a href="#background"><span class="secno">1 </span>Background</a></li>
124122
<li><a href="#conformance"><span class="secno">2 </span>Conformance</a>
125-
<ol>
126-
<li><a href="#web-idl"><span class="secno">2.1 </span>Web IDL</a></ol></li>
123+
<ul class="toc">
124+
<li><a href="#web-idl"><span class="secno">2.1 </span>Web IDL</a></ul></li>
127125
<li><a href="#terminology"><span class="secno">3 </span>Terminology</a>
128-
<ol>
129-
<li><a href="#css-pixels"><span class="secno">3.1 </span>CSS pixels</a></ol></li>
126+
<ul class="toc">
127+
<li><a href="#css-pixels"><span class="secno">3.1 </span>CSS pixels</a></ul></li>
130128
<li><a href="#common-infrastructure"><span class="secno">4 </span>Common Infrastructure</a>
131-
<ol>
132-
<li><a href="#scrolling"><span class="secno">4.1 </span>Scrolling</a></ol></li>
129+
<ul class="toc">
130+
<li><a href="#scrolling"><span class="secno">4.1 </span>Scrolling</a></ul></li>
133131
<li><a href="#extensions-to-the-window-interface"><span class="secno">5 </span>Extensions to the <code title="">Window</code> Interface</a>
134-
<ol>
132+
<ul class="toc">
135133
<li><a href="#the-mediaquerylist-interface"><span class="secno">5.1 </span>The <code title="">MediaQueryList</code> Interface</a></li>
136-
<li><a href="#the-screen-interface"><span class="secno">5.2 </span>The <code title="">Screen</code> Interface</a></ol></li>
134+
<li><a href="#the-screen-interface"><span class="secno">5.2 </span>The <code title="">Screen</code> Interface</a></ul></li>
137135
<li><a href="#extensions-to-the-document-interface"><span class="secno">6 </span>Extensions to the <code title="">Document</code> Interface</a>
138-
<ol>
139-
<li><a href="#the-caretposition-interface"><span class="secno">6.1 </span>The <code title="">CaretPosition</code> Interface</a></ol></li>
136+
<ul class="toc">
137+
<li><a href="#the-caretposition-interface"><span class="secno">6.1 </span>The <code title="">CaretPosition</code> Interface</a></ul></li>
140138
<li><a href="#extensions-to-the-element-interface"><span class="secno">7 </span>Extensions to the <code title="">Element</code> Interface</a>
141-
<ol>
139+
<ul class="toc">
142140
<li><a href="#the-getclientrects()-and-getboundingclientrect()-methods"><span class="secno">7.1 </span>The <code title="">getClientRects()</code> and
143141
<code title="">getBoundingClientRect()</code> methods</a></li>
144-
<li><a href="#element-scrolling-members"><span class="secno">7.2 </span><code title="">Element</code> Scrolling Members</a></ol></li>
142+
<li><a href="#element-scrolling-members"><span class="secno">7.2 </span><code title="">Element</code> Scrolling Members</a></ul></li>
145143
<li><a href="#extensions-to-the-htmlelement-interface"><span class="secno">8 </span>Extensions to the <code title="">HTMLElement</code> Interface</a></li>
146144
<li><a href="#extensions-to-the-range-interface"><span class="secno">9 </span>Extensions to the <code title="">Range</code> Interface</a></li>
147145
<li><a href="#extensions-to-the-mouseevent-interface"><span class="secno">10 </span>Extensions to the <code title="">MouseEvent</code> Interface</a></li>
148146
<li><a href="#rectangles"><span class="secno">11 </span>Rectangles</a>
149-
<ol>
147+
<ul class="toc">
150148
<li><a href="#the-clientrectlist-interface"><span class="secno">11.1 </span>The <code title="">ClientRectList</code> Interface</a></li>
151-
<li><a href="#the-clientrect-interface"><span class="secno" A5BC >11.2 </span>The <code title="">ClientRect</code> Interface</a></ol></li>
149+
<li><a href="#the-clientrect-interface"><span class="secno">11.2 </span>The <code title="">ClientRect</code> Interface</a></ul></li>
152150
<li><a href="#events"><span class="secno">12 </span>Events</a>
153-
<ol>
151+
<ul class="toc">
154152
<li><a href="#resizing-viewports"><span class="secno">12.1 </span>Resizing viewports</a></li>
155-
<li><a href="#scrolling-0"><span class="secno">12.2 </span>Scrolling</a></ol></li>
153+
<li><a href="#scrolling-0"><span class="secno">12.2 </span>Scrolling</a></ul></li>
156154
<li><a href="#css-properties"><span class="secno">13 </span>CSS properties</a>
157-
<ol>
158-
<li><a href="#smooth-scrolling:-the-'scroll-behavior'-property"><span class="secno">13.1 </span>Smooth Scrolling: The 'scroll-behavior' Property</a></ol></li>
155+
<ul class="toc">
156+
<li><a href="#smooth-scrolling:-the-'scroll-behavior'-property"><span class="secno">13.1 </span>Smooth Scrolling: The 'scroll-behavior' Property</a></ul></li>
159157
<li><a class="no-num" href="#references">References</a></li>
160-
<li><a class="no-num" href="#acknowledgments">Acknowledgments</a></ol>
158+
<li><a class="no-num" href="#acknowledgments">Acknowledgments</a></ul>
161159
<!--end-toc-->
162160

163161

@@ -268,14 +266,16 @@ <h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
268266
<p>The term <dfn id="scrolling-area">scrolling area</dfn> refers to a box of a <a href="#viewport">viewport</a> or an element that has the following edges, depending on the
269267
<a href="#viewport">viewport</a>'s or element's scrolling box's <a href="#overflow-directions">overflow directions</a>.
270268

271-
<table>
269+
<table class="complex data">
270+
<thead>
272271
<tr>
273272
<th>If the <a href="#overflow-directions">overflow directions</a> are…
274273
<th>For a <a href="#viewport">viewport</a>
275274
<th>For an element
275+
<tbody>
276276
<tr>
277277
<td>rightward and downward
278-
<td>
278+
<td class="long">
279279
<dl>
280280
<dt>top edge
281281
<dd><p>The top edge of the <a href="#initial-containing-block">initial containing block</a>.
@@ -288,7 +288,7 @@ <h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
288288
<dt>left edge
289289
<dd><p>The left edge of the <a href="#initial-containing-block">initial containing block</a>.
290290
</dl>
291-
<td>
291+
<td class="long">
292292
<dl>
293293
<dt>top edge
294294
<dd><p>The element's top <a href="#padding-edge">padding edge</a>.
@@ -303,7 +303,7 @@ <h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
303303
</dl>
304304
<tr>
305305
<td>leftward and downward
306-
<td>
306+
<td class="long">
307307
<dl>
308308
<dt>top edge
309309
<dd><p>The top edge of the <a href="#initial-containing-block">initial containing block</a>.
@@ -316,7 +316,7 @@ <h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
316316
<dd><p>The left-most edge of the left edge of the <a href="#initial-containing-block">initial containing block</a> and the left <a href="#margin-edge">margin edge</a> of the
317317
<a href="#viewport">viewport</a>'s all descendant boxes.
318318
</dl>
319-
<td>
319+
<td class="long">
320320
<dl>
321321
<dt>top edge
322322
<dd><p>The element's top <a href="#padding-edge">padding edge</a>.
@@ -331,7 +331,7 @@ <h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
331331
</dl>
332332
<tr>
333333
<td>leftward and upward
334-
<td>
334+
<td class="long">
335335
<dl>
336336
<dt>top edge
337337
<dd><p>The top-most edge of the top edge of the <a href="#initial-containing-block">initial containing block</a> and the top <a href="#margin-edge">margin edge</a> of the
@@ -344,7 +344,7 @@ <h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
344344
<dd><p>The left-most edge of the left edge of the <a href="#initial-containing-block">initial containing block</a> and the left <a href="#margin-edge">margin edge</a> of the
345345
<a href="#viewport">viewport</a>'s all descendant boxes.
346346
</dl>
347-
<td>
347+
<td class="long">
348348
<dl>
349349
<dt>top edge
350350
<dd><p>The top-most edge of the element's top <a href="#padding-edge">padding edge</a> and the top <a href="#margin-edge">margin edge</a> of the element's all descendant boxes,
@@ -359,7 +359,7 @@ <h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
359359
</dl>
360360
<tr>
361361
<td>rightward and upward
362-
<td>
362+
<td class="long">
363363
<dl>
364364
<dt>top edge
365365
<dd><p>The top-most edge of the top edge of the <a href="#initial-containing-block">initial containing block</a> and the top <a href="#margin-edge">margin edge</a> of the
@@ -372,7 +372,7 @@ <h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
372372
<dt>left edge
373373
<dd><p>The left edge of the <a href="#initial-containing-block">initial containing block</a>.
374374
</dl>
375-
<td>
375+
<td class="long">
376376
<dl>
377377
<dt>top edge
378378
<dd><p>The top-most edge of the element's top <a href="#padding-edge">padding edge</a> and the top <a href="#margin-edge">margin edge</a> of the element's all descendant boxes,

0 commit comments

Comments
 (0)