Skip to content

Commit 550749c

Browse files
author
Simon Pieters
committed
[cssom] Editorial: s/clear/unset/
1 parent 19dabdb commit 550749c

2 files changed

Lines changed: 38 additions & 38 deletions

File tree

cssom/Overview.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ <h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
283283
<p>The term <dfn id="list-of-css-page-selectors">list of CSS page selectors</dfn> refers to the comma-separated list of page selectors, as defined in CSS Paged Media Module.
284284
<a href="#refsCSSPAGE">[CSSPAGE]</a>
285285

286-
<p>The terms <dfn id="set">set</dfn> and <dfn id="clear">clear</dfn> to refer to the true and
286+
<p>The terms <dfn id="set">set</dfn> and <dfn id="unset">unset</dfn> to refer to the true and
287287
false values of binary flags or variables, respectively. These terms are also used as verbs in which case they refer to
288288
mutating some value to make it true or false, respectively.</p>
289289

@@ -871,7 +871,7 @@ <h3 id="css-style-sheets"><span class="secno">6.1 </span>CSS Style Sheets</h3>
871871

872872
<dt><dfn id="concept-css-style-sheet-alternate-flag" title="concept-css-style-sheet-alternate-flag">alternate flag</dfn></dt>
873873
<dd>
874-
<p>Specified when created. Either set or clear. Clear by default.</p>
874+
<p>Specified when created. Either set or unset. Unset by default.</p>
875875

876876
<div class="example">
877877
<p>The following <a href="#css-style-sheet" title="CSS style sheet">CSS style sheets</a> have
@@ -885,9 +885,9 @@ <h3 id="css-style-sheets"><span class="secno">6.1 </span>CSS Style Sheets</h3>
885885

886886
<dt><dfn id="concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</dfn></dt>
887887
<dd>
888-
<p>Either set or clear. Clear by default.</p>
888+
<p>Either set or unset. Unset by default.</p>
889889

890-
<p class="note">Even when clear it does not necessarily mean that the
890+
<p class="note">Even when unset it does not necessarily mean that the
891891
<a href="#css-style-sheet">CSS style sheet</a> is actually used for rendering.</p>
892892
</dd>
893893

@@ -897,7 +897,7 @@ <h3 id="css-style-sheets"><span class="secno">6.1 </span>CSS Style Sheets</h3>
897897
<a href="#css-style-sheet">CSS style sheet</a>.</dd>
898898

899899
<dt><dfn id="concept-css-style-sheet-origin-clean-flag" title="concept-css-style-sheet-origin-clean-flag">origin-clean flag</dfn>
900-
<dd><p>Specified when created. Either set or clear. If it is set, the API allows reading and modifying of the <a href="#concept-css-style-sheet-css-rules" title="concept-css-style-sheet-css-rules">CSS
900+
<dd><p>Specified when created. Either set or unset. If it is set, the API allows reading and modifying of the <a href="#concept-css-style-sheet-css-rules" title="concept-css-style-sheet-css-rules">CSS
901901
rules</a>.
902902
</dl>
903903

@@ -972,7 +972,7 @@ <h4 id="the-cssstylesheet-interface"><span class="secno">6.1.2 </span>The <code
972972
<p>The <dfn id="dom-cssstylesheet-cssrules" title="dom-CSSStyleSheet-cssRules"><code>cssRules</code></dfn> attribute must follow these steps:
973973

974974
<ol>
975-
<li><p>If the <a href="#concept-css-style-sheet-origin-clean-flag" title="concept-css-style-sheet-origin-clean-flag">origin-clean flag</a> is clear,
975+
<li><p>If the <a href="#concept-css-style-sheet-origin-clean-flag" title="concept-css-style-sheet-origin-clean-flag">origin-clean flag</a> is unset,
976976
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a> a <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#securityerror">SecurityError</a></code> exception.
977977
<li><p>Return a read-only, live <code><a href="#cssrulelist">CSSRuleList</a></code> object representing
978978
the <a href="#concept-css-style-sheet-css-rules" title="concept-css-style-sheet-css-rules">CSS rules</a>.</p>
@@ -985,7 +985,7 @@ <h4 id="the-cssstylesheet-interface"><span class="secno">6.1.2 </span>The <code
985985
<p>The <dfn id="dom-cssstylesheet-insertrule" title="dom-CSSStyleSheet-insertRule"><code>insertRule(<var>rule</var>, <var>index</var>)</code></dfn> method must run the following steps:
986986

987987
<ol>
988-
<li><p>If the <a href="#concept-css-style-sheet-origin-clean-flag" title="concept-css-style-sheet-origin-clean-flag">origin-clean flag</a> is clear,
988+
<li><p>If the <a href="#concept-css-style-sheet-origin-clean-flag" title="concept-css-style-sheet-origin-clean-flag">origin-clean flag</a> is unset,
989989
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a> a <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#securityerror">SecurityError</a></code> exception.
990990
<li><p>Return the result of invoking <a href="#insert-a-css-rule">insert a CSS rule</a> <var>rule</var> in the <a href="#concept-css-style-sheet-css-rules" title="concept-css-style-sheet-css-rules">CSS rules</a>
991991
at <var>index</var>.
@@ -994,7 +994,7 @@ <h4 id="the-cssstylesheet-interface"><span class="secno">6.1.2 </span>The <code
994994
<p>The <dfn id="dom-cssstylesheet-deleterule" title="dom-CSSStyleSheet-deleteRule"><code>deleteRule(<var>index</var>)</code></dfn> method must run the following steps:
995995

996996
<ol>
997-
<li><p>If the <a href="#concept-css-style-sheet-origin-clean-flag" title="concept-css-style-sheet-origin-clean-flag">origin-clean flag</a> is clear,
997+
<li><p>If the <a href="#concept-css-style-sheet-origin-clean-flag" title="concept-css-style-sheet-origin-clean-flag">origin-clean flag</a> is unset,
998998
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a> a <code class="external" data-anolis-spec="dom"><a href="http://dom.spec.whatwg.org/#securityerror">SecurityError</a></code> exception.
999999
<li><p><a href="#remove-a-css-rule">Remove a CSS rule</a> in the <a href="#concept-css-style-sheet-css-rules" title="concept-css-style-sheet-css-rules">CSS rules</a> at <var>index</var>.
10001000
</ol>
@@ -1042,13 +1042,13 @@ <h3 id="css-style-sheet-collections"><span class="secno">6.2 </span>CSS Style Sh
10421042
these steps.</li>
10431043

10441044
<li><p>If the <a href="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> is not the empty string, the
1045-
<a href="#concept-css-style-sheet-alternate-flag" title="concept-css-style-sheet-alternate-flag">alternate flag</a> is clear, and
1045+
<a href="#concept-css-style-sheet-alternate-flag" title="concept-css-style-sheet-alternate-flag">alternate flag</a> is unset, and
10461046
<a href="#preferred-css-style-sheet-set-name">preferred CSS style sheet set name</a> is the empty string
10471047
<a href="#change-the-preferred-css-style-sheet-set-name">change the preferred CSS style sheet set name</a> to the
10481048
<a href="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a>.</li>
10491049

10501050
<li>
1051-
<p>If any of the following is true clear the
1051+
<p>If any of the following is true unset the
10521052
<a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a> and terminate these steps:
10531053

10541054
<ul>
@@ -1082,7 +1082,7 @@ <h3 id="css-style-sheet-collections"><span class="secno">6.2 </span>CSS Style Sh
10821082
<p>A <dfn id="persistent-css-style-sheet">persistent CSS style sheet</dfn> is a
10831083
<a href="#css-style-sheet">CSS style sheet</a> from the <a href="#document-css-style-sheets">document CSS style sheets</a>
10841084
whose <a href="#concept-css-style-sheet-title" title="concept-css-style-sheet-title">title</a> is the empty string and whose
1085-
<a href="#concept-css-style-sheet-alternate-flag" title="concept-css-style-sheet-alternate-flag">alternate flag</a> is clear.</p>
1085+
<a href="#concept-css-style-sheet-alternate-flag" title="concept-css-style-sheet-alternate-flag">alternate flag</a> is unset.</p>
10861086

10871087
<p>A <dfn id="css-style-sheet-set">CSS style sheet set</dfn> is an ordered
10881088
collection of one or more <a href="#css-style-sheet" title="CSS style sheet">CSS style sheets</a>
@@ -1095,7 +1095,7 @@ <h3 id="css-style-sheet-collections"><span class="secno">6.2 </span>CSS Style Sh
10951095

10961096
<p>An <dfn id="enabled-css-style-sheet-set">enabled CSS style sheet set</dfn> is a
10971097
<a href="#css-style-sheet-set">CSS style sheet set</a> of which each <a href="#css-style-sheet">CSS style sheet</a> has
1098-
its <a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a> clear.</p>
1098+
its <a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a> unset.</p>
10991099

11001100
<p>To <dfn id="enable-a-css-style-sheet-set">enable a CSS style sheet set</dfn>
11011101
with name <var>name</var>, run these steps:</p>
@@ -1105,7 +1105,7 @@ <h3 id="css-style-sheet-collections"><span class="secno">6.2 </span>CSS Style Sh
11051105
<a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a> for each <a href="#css-style-sheet">CSS style sheet</a>
11061106
that is in a <a href="#css-style-sheet-set">CSS style sheet set</a> and terminate these steps.</li>
11071107

1108-
<li><p>Clear the <a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a> for each
1108+
<li><p>Unset the <a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a> for each
11091109
<a href="#css-style-sheet">CSS style sheet</a> in a <a href="#css-style-sheet-set">CSS style sheet set</a> whose
11101110
<a href="#css-style-sheet-set-name">CSS style sheet set name</a> is a
11111111
<a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#case-sensitive">case-sensitive</a> match for
@@ -1134,7 +1134,7 @@ <h3 id="css-style-sheet-collections"><span class="secno">6.2 </span>CSS Style Sh
11341134
<dfn id="preferred-css-style-sheet-set-name">preferred CSS style sheet set name</dfn>
11351135
is a concept to determine which
11361136
<a href="#css-style-sheet" title="CSS style sheet">CSS style sheets</a> need to have their
1137-
<a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a> clear. Initially its value
1137+
<a href="#concept-css-style-sheet-disabled-flag" title="concept-css-style-sheet-disabled-flag">disabled flag</a> unset. Initially its value
11381138
is the empty string.
11391139

11401140
<p>To
@@ -1610,10 +1610,10 @@ <h4 id="requirements-on-user-agents-implementing-the-xml-stylesheet-processing-i
16101610
<dt><a href="#concept-css-style-sheet-alternate-flag" title="concept-css-style-sheet-alternate-flag">alternate flag</a></dt>
16111611
<dd><p>Set if the <code title="">alternate</code> <a class="external" data-anolis-spec="xmlss" href="http://www.w3.org/TR/xml-stylesheet/#dt-pseudo-attribute">pseudo-attribute</a>
16121612
value is a <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#case-sensitive">case-sensitive</a> match for
1613-
"<code title="">yes</code>", or clear otherwise.
1613+
"<code title="">yes</code>", or unset otherwise.
16141614

16151615
<dt><a href="#concept-css-style-sheet-origin-clean-flag" title="concept-css-style-sheet-origin-clean-flag">origin-clean flag</a>
1616-
<dd><p>Set if <var>response</var> is <a class="external" data-anolis-spec="fetch" href="http://fetch.spec.whatwg.org/#cors-same-origin">CORS-same-origin</a>, or clear otherwise.
1616+
<dd><p>Set if <var>response</var> is <a class="external" data-anolis-spec="fetch" href="http://fetch.spec.whatwg.org/#cors-same-origin">CORS-same-origin</a>, or unset otherwise.
16171617
</dl>
16181618
</li>
16191619
</ol>
@@ -1696,7 +1696,7 @@ <h4 id="requirements-on-user-agents-implementing-the-http-link-header"><span cla
16961696
"<code title="">alternate</code>", or false otherwise.
16971697

16981698
<dt><a href="#concept-css-style-sheet-origin-clean-flag" title="concept-css-style-sheet-origin-clean-flag">origin-clean flag</a>
1699-
<dd><p>Set if <var>response</var> is <a class="external" data-anolis-spec="fetch" href="http://fetch.spec.whatwg.org/#cors-same-origin">CORS-same-origin</a>, or clear otherwise.
1699+
<dd><p>Set if <var>response</var> is <a class="external" data-anolis-spec="fetch" href="http://fetch.spec.whatwg.org/#cors-same-origin">CORS-same-origin</a>, or unset otherwise.
17001700
</dl>
17011701
</li>
17021702
</ol>
@@ -2201,8 +2201,8 @@ <h3 id="css-declaration-blocks"><span class="secno">6.6 </span>CSS Declaration B
22012201

22022202
<dl>
22032203
<dt><dfn id="concept-css-declaration-block-readonly-flag" title="concept-css-declaration-block-readonly-flag">readonly flag</dfn></dt>
2204-
<dd><p>Clear if the object can be manipulated. Set if it can not be
2205-
manipulated. Unless otherwise stated it is clear.</dd>
2204+
<dd><p>Unset if the object can be manipulated. Set if it can not be
2205+
manipulated. Unless otherwise stated it is unset.</dd>
22062206

22072207
<dt><dfn id="concept-css-declaration-block-declarations" title="concept-css-declaration-block-declarations">declarations</dfn></dt>
22082208
<dd><p>The <a href="#css-declaration" title="CSS declaration">CSS declarations</a> associated with the object.</dd>

0 commit comments

Comments
 (0)