Skip to content

Commit bd44f44

Browse files
committed
blah
1 parent 1dfd55f commit bd44f44

2 files changed

Lines changed: 64 additions & 60 deletions

File tree

cssom/Overview.html

Lines changed: 36 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,10 @@ <h2 id=terminology><span class=secno>3. </span>Terminology</h2>
320320
<p>A <dfn id=color-component-separator>color component separator</dfn> is a
321321
literal U+002C COMMA followed by a U+0020 SPACE.
322322

323-
<p>When this specification talks about object <code><var>A</var></code>
324-
where <code><var>A</var></code> is actually an interface, it generally
325-
means an object implementing interface <code><var>A</var></code>.
323+
<p>When this specification talks about object <code><var
324+
title="">A</var></code> where <code><var title="">A</var></code> is
325+
actually an interface, it generally means an object implementing interface
326+
<code><var title="">A</var></code>.
326327

327328
<p>The term <dfn id=whitespace>whitespace</dfn> is used as defined in CSS.
328329
<!--XXX <a href="#ref-css">[CSS]</a>-->
@@ -345,9 +346,9 @@ <h3 id=parsing-media-queries><span class=secno>4.1. </span>Parsing Media
345346
query if a single media query is returned.
346347

347348
<p>To <dfn id=parse-a-list-of-media-queries>parse a list of media
348-
queries</dfn> for a given string <var>s</var> into a list of media queries
349-
is defined in the Media Queries specification. Return the list of one or
350-
more media queries that the algorithm defined there gives.</p>
349+
queries</dfn> for a given string <var title="">s</var> into a list of
350+
media queries is defined in the Media Queries specification. Return the
351+
list of one or more media queries that the algorithm defined there gives.</p>
351352
<!-- XXX ref -->
352353

353354
<p class=note>If everything ends up being ignored the list will contain the
@@ -374,8 +375,8 @@ <h3 id=serializing-media-queries><span class=secno>4.2. </span>Serializing
374375

375376
<li>
376377
<p>If the media query does not contain media features append <var
377-
title="">type</var>, to <var>s</var>, then return <var>s</var> and
378-
terminate this algorithm.
378+
title="">type</var>, to <var title="">s</var>, then return <var
379+
title="">s</var> and terminate this algorithm.
379380

380381
<li>
381382
<p>If <var title="">type</var> is not "<code>all</code>" or if the media
@@ -391,26 +392,28 @@ <h3 id=serializing-media-queries><span class=secno>4.2. </span>Serializing
391392

392393
<ol>
393394
<li>Append a U+0028 LEFT PARENTHESIS character, followed by the media
394-
feature name, <span>converted to ASCII lowercase</span>, to
395-
<var>s</var>.
395+
feature name, <span>converted to ASCII lowercase</span>, to <var
396+
title="">s</var>.
396397

397398
<li>
398399
<p>If a value is given append a U+003A COLON (:) character, followed by
399400
a U+0020 SPACE character, followed by the <a
400401
href="#serialize-a-media-feature-value" title="serialize a media
401-
feature value">serialized media feature value</a>, to <var>s</var>.</p>
402+
feature value">serialized media feature value</a>, to <var
403+
title="">s</var>.</p>
402404

403405
<li>
404-
<p>Append a U+0029 RIGHT PARENTHESIS character to <var>s</var>.
406+
<p>Append a U+0029 RIGHT PARENTHESIS character to <var
407+
title="">s</var>.
405408

406409
<li>
407410
<p>If this is not the last media feature append a U+0020 SPACE
408411
character, followed by the literal string "<code>and</code>", followed
409-
by a U+0020 SPACE character, to <var>s</var>.</p>
412+
by a U+0020 SPACE character, to <var title="">s</var>.</p>
410413
</ol>
411414

412415
<li>
413-
<p>Return <var>s</var>.
416+
<p>Return <var title="">s</var>.
414417
</ol>
415418

416419
<div class=example>
@@ -442,10 +445,11 @@ <h3 id=serializing-media-queries><span class=secno>4.2. </span>Serializing
442445

443446
<ol>
444447
<li>
445-
<p>Let <var>s</var> be the empty string.
448+
<p>Let <var title="">s</var> be the empty string.
446449

447450
<li>
448-
<p>If the list is empty return <var>s</var> and terminate this algorithm.
451+
<p>If the list is empty return <var title="">s</var> and terminate this
452+
algorithm.
449453

450454
<li>
451455
<p>For each media query in the list:</p>
@@ -454,15 +458,15 @@ <h3 id=serializing-media-queries><span class=secno>4.2. </span>Serializing
454458
<li>
455459
<p>Append the result of <a href="#serialize-a-media-query"
456460
title="serialize a media query">serializing</a> the media query to
457-
<var>s</var>.
461+
<var title="">s</var>.
458462

459463
<li>
460464
<p>If this is not the last media query append a "<code>,</code>"
461-
(U+002C), followed by a space (U+0020) to <var>s</var>.
465+
(U+002C), followed by a space (U+0020) to <var title="">s</var>.
462466
</ol>
463467

464468
<li>
465-
<p>Return <var>s</var>.
469+
<p>Return <var title="">s</var>.
466470
</ol>
467471

468472
<h4 id=serializing-media-feature-values><span class=secno>4.2.1.
@@ -566,8 +570,8 @@ <h4 id=serializing-media-feature-values><span class=secno>4.2.1.
566570
<h3 id=comparing-media-queries><span class=secno>4.3. </span>Comparing
567571
Media Queries</h3>
568572

569-
<p>To <dfn id=compare-media-queries>compare media queries</dfn>
570-
<var>m1</var> and <var>m2</var> means to <a
573+
<p>To <dfn id=compare-media-queries>compare media queries</dfn> <var
574+
title="">m1</var> and <var title="">m2</var> means to <a
571575
href="#serialize-a-media-query" title="serialize a media
572576
query">serialize</a> them both and return true if they are a <a
573577
href="#case-sensitive">case-sensitive</a> match and false if they are not.
@@ -620,9 +624,9 @@ <h3 id=the-medialist-interface><span class=secno>4.4. </span>The <code
620624

621625
<p>The <dfn id=dom-medialist-item title=dom-MediaList-item><code>item(<var
622626
title="">index</var>)</code></dfn> method, when invoked, <em
623-
class=ct>must</em> return the item in the list given by <var>index</var>,
624-
or null, if <var>index</var> is greater than or equal to the number of
625-
items in the list.</p>
627+
class=ct>must</em> return the item in the list given by <var
628+
title="">index</var>, or null, if <var title="">index</var> is greater
629+
than or equal to the number of items in the list.</p>
626630
<!-- XXX need consistency here WebIDL? list of media queries? -->
627631

628632
<p>The <dfn id=dom-medialist-appendmedium
@@ -1197,8 +1201,8 @@ <h4 id=the-stylesheetlist-sequence><span class=secno>6.2.2. </span>The
11971201
<p>The
11981202
<dfn id="stylesheetlist-item" title="stylesheetlist-item"><code>item(<var title="">index</var>)</code></dfn>
11991203
method, when invoked, <em class="ct">must</em> return the
1200-
<code>StyleSheet</code> object in the list given by <var>index</var>, or
1201-
null, if <var>index</var> is greater than or equal to the
1204+
<code>StyleSheet</code> object in the list given by <var title="">index</var>, or
1205+
null, if <var title="">index</var> is greater than or equal to the
12021206
number of items in the list.</p>
12031207
-->
12041208

@@ -1212,7 +1216,7 @@ <h4 id=extensions-to-the-document-interface><span class=secno>6.2.3.
12121216
readonly attribute DOMString? <a href="#dom-document-lastStyleSheetSet" title=dom-Document-lastStyleSheetSet>lastStyleSheetSet</a>;
12131217
readonly attribute DOMString? <a href="#dom-document-preferredStyleSheetSet" title=dom-Document-preferredStyleSheetSet>preferredStyleSheetSet</a>;
12141218
readonly attribute DOMStringList <a href="#dom-document-styleSheetSets" title=dom-Document-styleSheetSets>styleSheetSets</a>;
1215-
void <a href="#dom-document-enablestylesheetsforset" title=dom-Document-enableStyleSheetsForSet>enableStyleSheetsForSet</a>(DOMString? <var>name</var>);
1219+
void <a href="#dom-document-enablestylesheetsforset" title=dom-Document-enableStyleSheetsForSet>enableStyleSheetsForSet</a>(DOMString? <var title="">name</var>);
12161220
};</pre>
12171221

12181222
<p>The <dfn id=dom-document-stylesheets
@@ -1745,8 +1749,8 @@ <h4 id=the-cssstylesheet-interface><span class=secno>7.1.1. </span>The
17451749
class=idl>interface <dfn id=cssstylesheet>CSSStyleSheet</dfn> : <a href="#stylesheet">StyleSheet</a> {
17461750
readonly attribute <a href="#cssrule">CSSRule</a> <a href="#dom-cssstylesheet-ownerrule" title=dom-CSSStyleSheet-ownerRule>ownerRule</a>;
17471751
readonly attribute <a href="#cssrulelist">CSSRuleList</a> <a href="#dom-cssstylesheet-cssrules" title=dom-CSSStyleSheet-cssRules>cssRules</a>;
1748-
unsigned long <a href="#dom-cssstylesheet-insertrule" title=dom-CSSStyleSheet-insertRule>insertRule</a>(DOMString <var>rule</var>, unsigned long <var>index</var>);
1749-
void <a href="#dom-cssstylesheet-deleterule" title=dom-CSSStyleSheet-deleteRule>deleteRule</a>(unsigned long <var>index</var>);
1752+
unsigned long <a href="#dom-cssstylesheet-insertrule" title=dom-CSSStyleSheet-insertRule>insertRule</a>(DOMString <var title="">rule</var>, unsigned long <var title="">index</var>);
1753+
void <a href="#dom-cssstylesheet-deleterule" title=dom-CSSStyleSheet-deleteRule>deleteRule</a>(unsigned long <var title="">index</var>);
17501754
};</pre>
17511755

17521756
<p>The <dfn id=dom-cssstylesheet-ownerrule
@@ -2118,8 +2122,8 @@ <h4 id=css-media-rule><span class=secno>7.2.5. </span>CSS <code
21182122
class=idl>interface <dfn id=cssmediarule>CSSMediaRule</dfn> : <a href="#cssrule">CSSRule</a> {
21192123
[PutForwards=<a href="#dom-medialist-mediatext" title=dom-MediaList-mediaText>mediaText</a>] readonly attribute <a href="#medialist">MediaList</a> <a href="#dom-cssmediarule-media" title=dom-CSSMediaRule-media>media</a>;
21202124
readonly attribute <a href="#cssrulelist">CSSRuleList</a> <a href="#dom-cssmediarule-cssrules" title=dom-CSSMediaRule-cssRules>cssRules</a>;
2121-
unsigned long <a href="#dom-cssmediarule-insertrule" title=dom-CSSMediaRule-insertRule>insertRule</a>(DOMString <var>rule</var>, in unsigned long <var>index</var>);
2122-
void <a href="#dom-cssmediarule-deleterule" title=dom-CSSMediaRule-deleteRule>deleteRule</a>(unsigned long <var>index</var>);
2125+
unsigned long <a href="#dom-cssmediarule-insertrule" title=dom-CSSMediaRule-insertRule>insertRule</a>(DOMString <var title="">rule</var>, in unsigned long <var title="">index</var>);
2126+
void <a href="#dom-cssmediarule-deleterule" title=dom-CSSMediaRule-deleteRule>deleteRule</a>(unsigned long <var title="">index</var>);
21232127
};</pre>
21242128

21252129
<p>The <dfn id=dom-cssmediarule-media
@@ -3586,7 +3590,7 @@ <h4 id=serializing-css-values><span class=secno>7.4.2. </span>Serializing
35863590
<em class="ct">must</em> be omitted, any leading <code>+</code>
35873591
<em class="ct">must</em> be omitted, the decimal point in a real number
35883592
<em class="ct">must</em> be omitted unless there is a fractional part, and if
3589-
the number is in the range <code>-1 &lt; <var>x</var> &lt; 1</code>, then one
3593+
the number is in the range <code>-1 &lt; <var title="">x</var> &lt; 1</code>, then one
35903594
leading <code>0</code> <em class="ct">must</em> be inserted before the
35913595
decimal point. The number of given significant figures is completely user
35923596
agent dependent.</p></li>

cssom/Overview.src.html

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ <h2 id="terminology">Terminology</h2>
149149
<p>A <dfn>color component separator</dfn> is a literal U+002C COMMA followed
150150
by a U+0020 SPACE.</p>
151151

152-
<p>When this specification talks about object <code><var>A</var></code>
153-
where <code><var>A</var></code> is actually an interface, it generally means
154-
an object implementing interface <code><var>A</var></code>.</p>
152+
<p>When this specification talks about object <code><var title="">A</var></code>
153+
where <code><var title="">A</var></code> is actually an interface, it generally means
154+
an object implementing interface <code><var title="">A</var></code>.</p>
155155

156156
<p>The term <dfn id="whitespace">whitespace</dfn> is used as defined in
157157
CSS. <!--XXX <a href="#ref-css">[CSS]</a>--></p>
@@ -181,7 +181,7 @@ <h3>Parsing Media Queries</h3>
181181

182182
<p>To
183183
<dfn id="parse-a-list-of-media-queries">parse a list of media queries</dfn>
184-
for a given string <var>s</var> into a list of media queries is defined in
184+
for a given string <var title="">s</var> into a list of media queries is defined in
185185
the Media Queries specification. Return the list of one or more media
186186
queries that the algorithm defined there gives.</p> <!-- XXX ref -->
187187

@@ -205,8 +205,8 @@ <h3>Serializing Media Queries</h3>
205205
<span>converted to ASCII lowercase</span>.</p></li>
206206

207207
<li><p>If the media query does not contain media features append
208-
<var title="">type</var>, to <var>s</var>,
209-
then return <var>s</var> and terminate this algorithm.</p></li>
208+
<var title="">type</var>, to <var title="">s</var>,
209+
then return <var title="">s</var> and terminate this algorithm.</p></li>
210210

211211
<li><p>If <var title="">type</var> is not "<code>all</code>" or if the
212212
media query is negated append <var title="">type</var>, followed by
@@ -221,23 +221,23 @@ <h3>Serializing Media Queries</h3>
221221
<ol>
222222
<li>Append a U+0028 LEFT PARENTHESIS character, followed by the media
223223
feature name, <span>converted to ASCII lowercase</span>, to
224-
<var>s</var>.</p></li>
224+
<var title="">s</var>.</p></li>
225225

226226
<li><p>If a value is given append a U+003A COLON (:)
227227
character, followed by a U+0020 SPACE character, followed by the
228228
<span title="serialize a media feature value">serialized media feature value</span>,
229-
to <var>s</var>.</p>
229+
to <var title="">s</var>.</p>
230230

231231
<li><p>Append a U+0029 RIGHT PARENTHESIS character to
232-
<var>s</var>.</p></li>
232+
<var title="">s</var>.</p></li>
233233

234234
<li><p>If this is not the last media feature append a U+0020 SPACE
235235
character, followed by the literal string "<code>and</code>", followed
236-
by a U+0020 SPACE character, to <var>s</var>.</p>
236+
by a U+0020 SPACE character, to <var title="">s</var>.</p>
237237
</ol>
238238
</li>
239239

240-
<li><p>Return <var>s</var>.</p></li>
240+
<li><p>Return <var title="">s</var>.</p></li>
241241
</ol>
242242

243243
<div class="example">
@@ -262,9 +262,9 @@ <h3>Serializing Media Queries</h3>
262262
run these steps:</p>
263263

264264
<ol>
265-
<li><p>Let <var>s</var> be the empty string.</p></li>
265+
<li><p>Let <var title="">s</var> be the empty string.</p></li>
266266

267-
<li><p>If the list is empty return <var>s</var> and terminate this
267+
<li><p>If the list is empty return <var title="">s</var> and terminate this
268268
algorithm.</p></li>
269269

270270
<li>
@@ -273,14 +273,14 @@ <h3>Serializing Media Queries</h3>
273273
<ol>
274274
<li><p>Append the result of
275275
<span title="serialize a media query">serializing</span> the media
276-
query to <var>s</var>.</p></li>
276+
query to <var title="">s</var>.</p></li>
277277

278278
<li><p>If this is not the last media query append a "<code>,</code>"
279-
(U+002C), followed by a space (U+0020) to <var>s</var>.</p></li>
279+
(U+002C), followed by a space (U+0020) to <var title="">s</var>.</p></li>
280280
</ol>
281281
</li>
282282

283-
<li><p>Return <var>s</var>.</p></li>
283+
<li><p>Return <var title="">s</var>.</p></li>
284284
</ol>
285285

286286

@@ -353,7 +353,7 @@ <h3>Comparing Media Queries</h3>
353353

354354
<p>To
355355
<dfn id="compare-media-queries">compare media queries</dfn>
356-
<var>m1</var> and <var>m2</var> means to
356+
<var title="">m1</var> and <var title="">m2</var> means to
357357
<span title="serialize a media query">serialize</span> them both and
358358
return true if they are a <span>case-sensitive</span> match and false if
359359
they are not.</p>
@@ -403,7 +403,7 @@ <h3>The <code title="">MediaList</code> Interface</h3>
403403
<p>The
404404
<dfn id="dom-medialist-item" title="dom-MediaList-item"><code>item(<var title="">index</var>)</code></dfn>
405405
method, when invoked, <em class="ct">must</em> return the item in the list
406-
given by <var>index</var>, or null, if <var>index</var> is
406+
given by <var title="">index</var>, or null, if <var title="">index</var> is
407407
greater than or equal to the number of items in the list.</p>
408408
<!-- XXX need consistency here WebIDL? list of media queries? -->
409409

@@ -917,8 +917,8 @@ <h4>The <code title="">StyleSheetList</code> Sequence</h4>
917917
<p>The
918918
<dfn id="stylesheetlist-item" title="stylesheetlist-item"><code>item(<var title="">index</var>)</code></dfn>
919919
method, when invoked, <em class="ct">must</em> return the
920-
<code>StyleSheet</code> object in the list given by <var>index</var>, or
921-
null, if <var>index</var> is greater than or equal to the
920+
<code>StyleSheet</code> object in the list given by <var title="">index</var>, or
921+
null, if <var title="">index</var> is greater than or equal to the
922922
number of items in the list.</p>
923923
-->
924924

@@ -932,7 +932,7 @@ <h4>Extensions to the <code title="">Document</code> Interface</h4>
932932
readonly attribute DOMString? <span title="dom-Document-lastStyleSheetSet">lastStyleSheetSet</span>;
933933
readonly attribute DOMString? <span title="dom-Document-preferredStyleSheetSet">preferredStyleSheetSet</span>;
934934
readonly attribute DOMStringList <span title="dom-Document-styleSheetSets">styleSheetSets</span>;
935-
void <span title="dom-Document-enableStyleSheetsForSet">enableStyleSheetsForSet</span>(DOMString? <var>name</var>);
935+
void <span title="dom-Document-enableStyleSheetsForSet">enableStyleSheetsForSet</span>(DOMString? <var title="">name</var>);
936936
};</pre>
937937

938938
<p>The
@@ -1397,8 +1397,8 @@ <h3>CSS Style Sheet</h3>
13971397

13981398
<h4>The <code title="">CSSStyleSheet</code> Interface</h4>
13991399

1400-
<p>The <code>CSSStyleSheet</code> interface represents a <span>CSS style
1401-
sheet</span>.</p>
1400+
<p>The <code>CSSStyleSheet</code> interface represents a
1401+
<span>CSS style sheet</span>.</p>
14021402

14031403
<!--
14041404
IE exposes:
@@ -1409,8 +1409,8 @@ <h4>The <code title="">CSSStyleSheet</code> Interface</h4>
14091409
<pre class="idl">interface <dfn>CSSStyleSheet</dfn> : <span>StyleSheet</span> {
14101410
readonly attribute <span>CSSRule</span> <span title="dom-CSSStyleSheet-ownerRule">ownerRule</span>;
14111411
readonly attribute <span>CSSRuleList</span> <span title="dom-CSSStyleSheet-cssRules">cssRules</span>;
1412-
unsigned long <span title="dom-CSSStyleSheet-insertRule">insertRule</span>(DOMString <var>rule</var>, unsigned long <var>index</var>);
1413-
void <span title="dom-CSSStyleSheet-deleteRule">deleteRule</span>(unsigned long <var>index</var>);
1412+
unsigned long <span title="dom-CSSStyleSheet-insertRule">insertRule</span>(DOMString <var title="">rule</var>, unsigned long <var title="">index</var>);
1413+
void <span title="dom-CSSStyleSheet-deleteRule">deleteRule</span>(unsigned long <var title="">index</var>);
14141414
};</pre>
14151415

14161416
<p>The
@@ -1719,8 +1719,8 @@ <h4>CSS <code title="">@media</code> Rule</h4>
17191719
<pre class="idl">interface <dfn>CSSMediaRule</dfn> : <span>CSSRule</span> {
17201720
[PutForwards=<span title="dom-MediaList-mediaText">mediaText</span>] readonly attribute <span>MediaList</span> <span title="dom-CSSMediaRule-media">media</span>;
17211721
readonly attribute <span>CSSRuleList</span> <span title="dom-CSSMediaRule-cssRules">cssRules</span>;
1722-
unsigned long <span title="dom-CSSMediaRule-insertRule">insertRule</span>(DOMString <var>rule</var>, in unsigned long <var>index</var>);
1723-
void <span title="dom-CSSMediaRule-deleteRule">deleteRule</span>(unsigned long <var>index</var>);
1722+
unsigned long <span title="dom-CSSMediaRule-insertRule">insertRule</span>(DOMString <var title="">rule</var>, in unsigned long <var title="">index</var>);
1723+
void <span title="dom-CSSMediaRule-deleteRule">deleteRule</span>(unsigned long <var title="">index</var>);
17241724
};</pre>
17251725

17261726
<p>The
@@ -2262,7 +2262,7 @@ <h4>Serializing CSS Values</h4>
22622262
<em class="ct">must</em> be omitted, any leading <code>+</code>
22632263
<em class="ct">must</em> be omitted, the decimal point in a real number
22642264
<em class="ct">must</em> be omitted unless there is a fractional part, and if
2265-
the number is in the range <code>-1 &lt; <var>x</var> &lt; 1</code>, then one
2265+
the number is in the range <code>-1 &lt; <var title="">x</var> &lt; 1</code>, then one
22662266
leading <code>0</code> <em class="ct">must</em> be inserted before the
22672267
decimal point. The number of given significant figures is completely user
22682268
agent dependent.</p></li>

0 commit comments

Comments
 (0)