Skip to content

Commit 2eb9b41

Browse files
committed
[css-values] Mention Cascade's unset keyword as an example of a CSS-wide keyword defined elsewhere than 2.1
1 parent b3cb94f commit 2eb9b41

2 files changed

Lines changed: 17 additions & 14 deletions

File tree

css-values/Overview.html

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -435,11 +435,9 @@ <h3 id=component-types><span class=secno>2.1. </span> Component value types</h3>
435435
comma (,) as literals. These represent their corresponding tokens.
436436

437437
<p>All CSS properties also accept the <a href="#common-keywords">CSS-wide
438-
keyword values</a><a href="#inherit"><code
439-
class=css>inherit</code></a>’ and ‘<a href="#initial"><code
440-
class=css>initial</code></a>’ as the sole component of their property
441-
value. For readability these are not listed explicitly in the property
442-
value syntax definitions. For example, the full value definition of <a
438+
keyword values</a> as the sole component of their property value. For
439+
readability these are not listed explicitly in the property value syntax
440+
definitions. For example, the full value definition of <a
443441
href="http://www.w3.org/TR/css3-background/#border-color"><code
444442
class=property>border-color</code></a> is ‘<code class=css>[
445443
&lt;color>{1,4} ] | inherit | initial</code>’ (even though it is listed
@@ -656,9 +654,8 @@ <h4 id=common-keywords><span class=secno>3.1.1. </span> CSS-wide keywords:
656654
href="#inherit"><code class=css>inherit</code></a></h4>
657655

658656
<p>As defined <a href="#component-types">above</a>, all properties accept
659-
the ‘<a href="#initial"><code class=css>initial</code></a>’ and ‘<a
660-
href="#inherit"><code class=css>inherit</code></a>’ keywords, which
661-
represent value computations common to all CSS properties.
657+
the <dfn id=css-wide-keywords>CSS-wide keywords</dfn>, which represent
658+
value computations common to all CSS properties.
662659

663660
<p>The <dfn id=inherit><code class=css>inherit</code></dfn> keyword
664661
is <a
@@ -670,7 +667,10 @@ <h4 id=common-keywords><span class=secno>3.1.1. </span> CSS-wide keywords:
670667
initial value. <a href="#CSS3CASCADE"
671668
rel=biblioentry>[CSS3CASCADE]<!--{{CSS3CASCADE}}--></a>
672669

673-
<p>Other specifications might define additional CSS-wide keywords.
670+
<p>Other CSS specifications can define additional CSS-wide keywords. For
671+
example, <a href="#CSS3CASCADE"
672+
rel=biblioentry>[CSS3CASCADE]<!--{{CSS3CASCADE}}--></a> adds an ‘<code
673+
class=css>unset</code>’ keyword to this set.
674674
<!-- Make it easier to add CSS-wide keywords by defining a grammar production. -->
675675

676676
<h3 id=custom-idents><span class=secno>3.2. </span> Author-defined
@@ -2335,8 +2335,8 @@ <h2 class=no-num id=changes>Changes</h2>
23352335
Candidate Recommendation</a> are:
23362336

23372337
<ul>
2338-
<li>Noted that the list of <i>CSS-wide keywords</i> may be expanded by
2339-
other specs.
2338+
<li>Noted that the list of <a href="#css-wide-keywords"><i>CSS-wide
2339+
keywords</i></a> may be expanded by other specs.
23402340

23412341
<li>Clarified definition of ‘<a href="#ex-unit"><code
23422342
class=css>ex</code></a>’ to refer to the “first available font”.
@@ -2500,6 +2500,9 @@ <h2 class=no-num id=index>Index</h2>
25002500
<li><var>&lt;color></var>, <a href="#color-value"
25012501
title="section 7.1."><strong>7.1.</strong></a>
25022502

2503+
<li>CSS-wide keywords, <a href="#css-wide-keywords"
2504+
title="section 3.1.1."><strong>3.1.1.</strong></a>
2505+
25032506
<li><var>&lt;custom-ident></var>, <a href="#identifier-value"
25042507
title="section 3.2."><strong>3.2.</strong></a>
25052508

css-values/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ <h3 id="component-types">
161161
comma (,) as literals. These represent their corresponding tokens.
162162

163163
<p>All CSS properties also accept the <a href="#common-keywords">CSS-wide keyword values</a>
164-
''inherit'' and ''initial''
165164
as the sole component of their property value.
166165
For readability these are not listed explicitly in the property value syntax definitions.
167166
For example, the full value definition of <a href="http://www.w3.org/TR/css3-background/#border-color">'border-color'</a>
@@ -331,7 +330,7 @@ <h4 id="common-keywords">
331330
CSS-wide keywords: ''initial'' and ''inherit''</h4>
332331

333332
<p>As defined <a href="#component-types">above</a>,
334-
all properties accept the ''initial'' and ''inherit'' keywords,
333+
all properties accept the <dfn>CSS-wide keywords</dfn>,
335334
which represent value computations common to all CSS properties.
336335

337336
<p>The <dfn>''inherit''</dfn> keyword is
@@ -341,7 +340,8 @@ <h4 id="common-keywords">
341340
<p>The <dfn>''initial''</dfn> keyword represents the specified value that
342341
is designated as the property's initial value. [[CSS3CASCADE]]
343342

344-
<p>Other specifications might define additional CSS-wide keywords.
343+
<p>Other CSS specifications can define additional CSS-wide keywords.
344+
For example, [[CSS3CASCADE]] adds an ''unset'' keyword to this set.
345345
<!-- Make it easier to add CSS-wide keywords by defining a grammar production. -->
346346

347347
<h3 id='custom-idents'>

0 commit comments

Comments
 (0)