Skip to content

Commit 349a10b

Browse files
committed
s/alternate/alternative/
1 parent f85318d commit 349a10b

2 files changed

Lines changed: 32 additions & 28 deletions

File tree

cssom/Overview.html

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,8 @@ <h2 id=accessing><span class=secno>2. </span>Accessing style sheets through
442442
the <code><a href="#documentstyle">DocumentStyle</a></code> interface
443443
implemented on the <code>Document</code> object. The <code><a
444444
href="#documentstyle">DocumentStyle</a></code> interface also provides an
445-
interface for enabling alternate style sheets and manipulating style sheet
446-
sets.
445+
interface for enabling alternative style sheets and manipulating style
446+
sheet sets.
447447

448448
<h3 id=terminology0><span class=secno>2.1. </span>Terminology</h3>
449449

@@ -587,10 +587,14 @@ <h3 id=the-documentstyle><span class=secno>2.3. </span>The <code><a
587587
<p>This attribute <em class=ct>must</em> be a <code><a
588588
href="#stylesheetlist">StyleSheetList</a></code> object containing a
589589
collection of all <code><a href="#linkstyle">LinkStyle</a></code>
590-
objects with a non-<code>null</code> <code title=linkstyle-sheet><a
591-
href="#linkstyle-sheet">sheet</a></code> attribute in document order
592-
preceded by style sheets introduced through HTTP headers.
590+
objects with a non-<code>null</code> preceded by style sheets introduced
591+
through HTTP headers.
592+
</dl>
593+
594+
<p><code title=linkstyle-sheet><a href="#linkstyle-sheet">sheet</a></code>
595+
attribute in document order
593596

597+
<dl>
594598
<dt><dfn
595599
id=documentstyle-selectedStyleSheetSet><code>selectedStyleSheetSet</code></dfn>
596600
of type <code>DOMString</code>
@@ -613,7 +617,7 @@ <h3 id=the-documentstyle><span class=secno>2.3. </span>The <code><a
613617
way to determine what the currently selected style sheet set is in those
614618
conditions). Otherwise, either all style sheets that <a
615619
href="#style-sheet-title">have a title</a> are disabled, or there are no
616-
alternate style sheets, and <code><a
620+
alternative style sheets, and <code><a
617621
href="#documentstyle-selectedStyleSheetSet">selectedStyleSheetSet</a></code>
618622
<em class=ct>must</em> return the empty string.</p>
619623

@@ -631,7 +635,7 @@ <h3 id=the-documentstyle><span class=secno>2.3. </span>The <code><a
631635
<p>From the DOM's perspective, all views have the same <code><a
632636
href="#documentstyle-selectedStyleSheetSet">selectedStyleSheetSet</a></code>.
633637
If a user agent supports multiple views with different selected
634-
alternate style sheets, then this attribute (and the <code><a
638+
alternative style sheets, then this attribute (and the <code><a
635639
href="#stylesheet">StyleSheet</a></code> interface's
636640
<code>disabled</code> attribute) <em class=ct>must</em> return and set
637641
the value for the default view.</p>
@@ -691,8 +695,8 @@ <h3 id=the-documentstyle><span class=secno>2.3. </span>The <code><a
691695
Title matches <em class=ct>must</em> be <span>case-sensitive</span>.</p>
692696

693697
<p>Invoking this method with the empty string value <em
694-
class=ct>must</em> disable all alternate and preferred style sheets (but
695-
does not change the state of persistent style sheets).</p>
698+
class=ct>must</em> disable all alternative and preferred style sheets
699+
(but does not change the state of persistent style sheets).</p>
696700

697701
<p>Invoking this method with the <code>null</code> value <em
698702
class=ct>must</em> have no effect.</p>
@@ -762,7 +766,7 @@ <h4 id=adding><span class=secno>2.5.1. </span>Adding style sheets</h4>
762766

763767
<p>First, if the style sheet is a preferred style sheet (it <a
764768
href="#style-sheet-title" title="have a title">has a title</a>, but is not
765-
marked as alternate), and there is no current preferred style sheet (the
769+
marked as alternative), and there is no current preferred style sheet (the
766770
<code><a
767771
href="#documentstyle-preferredStyleSheetSet">preferredStyleSheetSet</a></code>
768772
attribute is equal to the empty string) then the <code><a
@@ -796,10 +800,10 @@ <h4 id=changing><span class=secno>2.5.2. </span>Changing the preferred
796800
style sheet set</h4>
797801

798802
<p>The first time the <span>preferred style sheet</span> set is set, which
799-
is either before any alternate style sheets are seen (e.g. using a
803+
is either before any alternative style sheets are seen (e.g. using a
800804
<code>Default-Style</code> HTTP header), or is the first time a titled,
801-
non-alternate style sheet is seen (in the absence of information to the
802-
contrary, the first titled non-alternate sheet sets the name of the
805+
non-altenrative style sheet is seen (in the absence of information to the
806+
contrary, the first titled non-alternative sheet sets the name of the
803807
preferred set), the <code><a
804808
href="#documentstyle-preferredStyleSheetSet">preferredStyleSheetSet</a></code>
805809
attribute's value <em class=ct>must</em> be set to the name of that
@@ -926,10 +930,10 @@ <h4 id=persisting><span class=secno>2.6.1. </span>Persisting the selected
926930

927931
<h3 id=forward><span class=secno>2.7. </span>Forward compatibility</h3>
928932

929-
<p>Future versions of CSS may introduce ways of having alternate style
933+
<p>Future versions of CSS may introduce ways of having alternative style
930934
sheets declared at levels lower than the top level, i.e. embedded within
931935
other style sheets. Implementations of this specification that also
932-
support this proposed declaration of alternate style sheets are expected
936+
support this proposed declaration of alternative style sheets are expected
933937
to perform depth-first traversals of the <code><a
934938
href="#documentstyle-stylesheets">styleSheets</a></code> list, not simply
935939
enumerations of the <code><a
@@ -2957,7 +2961,7 @@ <h2 class=no-num id=acknowledgements>Acknowledgements</h2>
29572961
<li>Tarquin Wilton-Jones
29582962
</ul>
29592963
<!-- Additional thanks to Ian Hickson for writing the initial version of the
2960-
alternate style sheets API, canonicalization rules and proposals for
2964+
alternative style sheets API, canonicalization rules and proposals for
29612965
"author-friendly" interfaces. -->
29622966

29632967
<p>Also many thanks to the Windows Internet Explorer team for first

cssom/Overview.src.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ <h2>Accessing style sheets through the DOM</h2>
205205
implemented on individual <code>Node</code> objects or through the
206206
<code>DocumentStyle</code> interface implemented on the
207207
<code>Document</code> object. The <code>DocumentStyle</code> interface also
208-
provides an interface for enabling alternate style sheets and manipulating
208+
provides an interface for enabling alternative style sheets and manipulating
209209
style sheet sets.</p>
210210

211211
<h3>Terminology</h3>
@@ -335,8 +335,8 @@ <h3>The <code>DocumentStyle</code> Interface</h3>
335335
<dd><p>This attribute <em class="ct">must</em> be a
336336
<code>StyleSheetList</code> object containing a collection of all
337337
<code>LinkStyle</code> objects with a non-<code>null</code>
338-
<code title="linkstyle-sheet">sheet</code> attribute in document order
339338
preceded by style sheets introduced through HTTP headers.</p></dd>
339+
<code title="linkstyle-sheet">sheet</code> attribute in document order
340340

341341
<dt><dfn id="documentstyle-selectedStyleSheetSet"><code>selectedStyleSheetSet</code></dfn>
342342
of type <code>DOMString</code></dt>
@@ -355,7 +355,7 @@ <h3>The <code>DocumentStyle</code> Interface</h3>
355355
sets are enabled, then the return value <em class="ct">must</em> be
356356
<code>null</code> (there is no way to determine what the currently selected
357357
style sheet set is in those conditions). Otherwise, either all style sheets
358-
that <span>have a title</span> are disabled, or there are no alternate style
358+
that <span>have a title</span> are disabled, or there are no alternative style
359359
sheets, and <code>selectedStyleSheetSet</code> <em class="ct">must</em>
360360
return the empty string.</p>
361361

@@ -370,7 +370,7 @@ <h3>The <code>DocumentStyle</code> Interface</h3>
370370

371371
<p>From the DOM's perspective, all views have the same
372372
<code>selectedStyleSheetSet</code>. If a user agent supports multiple views
373-
with different selected alternate style sheets, then this attribute (and the
373+
with different selected alternative style sheets, then this attribute (and the
374374
<code>StyleSheet</code> interface's <code>disabled</code> attribute)
375375
<em class="ct">must</em> return and set the value for the default view.</p>
376376
</dd>
@@ -426,7 +426,7 @@ <h3>The <code>DocumentStyle</code> Interface</h3>
426426
<span>case-sensitive</span>.</p>
427427

428428
<p>Invoking this method with the empty string value <em class="ct">must</em>
429-
disable all alternate and preferred style sheets (but does not change the
429+
disable all alternative and preferred style sheets (but does not change the
430430
state of persistent style sheets).</p>
431431

432432
<p>Invoking this method with the <code>null</code> value
@@ -491,7 +491,7 @@ <h4>Adding style sheets</h4>
491491

492492
<p>First, if the style sheet is a preferred style sheet (it
493493
<span title="have a title">has a title</span>, but is not marked as
494-
alternate), and there is no
494+
alternative), and there is no
495495
current preferred style sheet (the <code>preferredStyleSheetSet</code>
496496
attribute is equal to the empty string) then the
497497
<code>preferredStyleSheetSet</code> attribute is set to the exact value of
@@ -517,10 +517,10 @@ <h4>Adding style sheets</h4>
517517
<h4>Changing the preferred style sheet set</h4>
518518

519519
<p>The first time the <span>preferred style sheet</span> set is set, which is
520-
either before any alternate style sheets are seen (e.g. using a
520+
either before any alternative style sheets are seen (e.g. using a
521521
<code>Default-Style</code> HTTP header), or is the first time a titled,
522-
non-alternate style sheet is seen (in the absence of information to
523-
the contrary, the first titled non-alternate sheet sets the name of
522+
non-altenrative style sheet is seen (in the absence of information to
523+
the contrary, the first titled non-alternative sheet sets the name of
524524
the preferred set), the <code>preferredStyleSheetSet</code> attribute's value
525525
<em class="ct">must</em> be set to the name of that preferred style sheet
526526
set. This does not change the <code>lastStyleSheetSet</code> attribute.</p>
@@ -622,10 +622,10 @@ <h4>Persisting the selected style sheet set</h4>
622622

623623
<h3>Forward compatibility</h3>
624624

625-
<p>Future versions of CSS may introduce ways of having alternate style sheets
625+
<p>Future versions of CSS may introduce ways of having alternative style sheets
626626
declared at levels lower than the top level, i.e. embedded within other style
627627
sheets. Implementations of this specification that also support this proposed
628-
declaration of alternate style sheets are expected to perform depth-first
628+
declaration of alternative style sheets are expected to perform depth-first
629629
traversals of the <code>styleSheets</code> list, not simply enumerations of
630630
the <code>styleSheets</code> list that only contains the top level.</p>
631631

@@ -2445,7 +2445,7 @@ <h2 class="no-num" id="acknowledgements">Acknowledgements</h2>
24452445
</ul>
24462446

24472447
<!-- Additional thanks to Ian Hickson for writing the initial version of the
2448-
alternate style sheets API, canonicalization rules and proposals for
2448+
alternative style sheets API, canonicalization rules and proposals for
24492449
"author-friendly" interfaces. -->
24502450
<p>Also many thanks to the Windows Internet Explorer team for first shipping
24512451
many of the features introduced on <code>ElementLayout</code> and

0 commit comments

Comments
 (0)