Skip to content

Commit ba771b2

Browse files
committed
Index currentColor and transparent.
1 parent be70c78 commit ba771b2

2 files changed

Lines changed: 26 additions & 15 deletions

File tree

css3-color/Overview.html

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -485,23 +485,26 @@ <h3 id=foreground><span class=secno>3.1. </span>Foreground color: the <span
485485
e.g. <span class=example>six digit hex value or rgb(...) functional
486486
value</span>, with an alpha value of 1.
487487

488-
<li>The computed value of the keyword &lsquo;<code
489-
class=property>transparent</code>&rsquo; is the quadruplet of all
490-
zero numerical RGBA values, e.g. <span
488+
<li>The computed value of the keyword &lsquo;<code class=css><span
489+
class=index-inst id=transparent0>transparent</span></code>&rsquo; is
490+
the quadruplet of all zero numerical RGBA values, e.g. <span
491491
class=example>rgba(0,0,0,0)</span>.
492492

493493
<li>See the definition of the &lsquo;<code class=css><a
494-
href="#currentcolor">currentColor</a></code>&rsquo; for how its
495-
computed value is determined.
494+
class=index-inst href="#currentcolor"
495+
id=currentcolor0>currentColor</a></code>&rsquo; for how its computed
496+
value is determined.
496497

497498
<li>For all other values, the computed value is the specified value.
498499
</ul>
499500
</table>
500501

501502
<p>This property describes the foreground color of an element's text
502503
content. In addition it is used to provide a potential indirect value (<a
503-
href="#currentcolor">currentColor</a>) for any <em>other</em> properties
504-
that accept color values. If the 'currentColor' keyword is set on the
504+
class=index-inst href="#currentcolor" id=currentcolor1>currentColor</a>)
505+
for any <em>other</em> properties that accept color values. If the
506+
&lsquo;<code class=css><span class=index-inst
507+
id=currentcolor2>currentColor</span></code>&rsquo; keyword is set on the
505508
&lsquo;<code class=property><a href="#color0">color</a></code>&rsquo;
506509
property itself, it is treated as &lsquo;<code
507510
class=css>color:inherit</code>&rsquo;.
@@ -899,7 +902,7 @@ <h4 id=transparent><span class=secno>4.2.3. </span>&lsquo;<code
899902
definition of those properties in CSS3.
900903

901904
<dl>
902-
<dt>transparent
905+
<dt class=index-def id=transparent1>transparent
903906

904907
<dd>Fully transparent. This keyword can be considered a shorthand for
905908
rgba(0,0,0,0) which is its computed value.
@@ -4423,7 +4426,7 @@ <h3 id=currentcolor><span class=secno>4.4. </span>'currentColor' color
44234426
definition of those properties in CSS3.
44244427

44254428
<dl>
4426-
<dt>currentColor
4429+
<dt class=index-def id=currentcolor3>currentColor
44274430

44284431
<dd>The value of the &lsquo;<code class=property><a
44294432
href="#color0">color</a></code>&rsquo; property. The computed value of
@@ -5069,10 +5072,18 @@ <h2 class=no-num id=index>Index</h2>
50695072
href="#ltcolorgt" title="&lt;color&gt;">3.1.</a>, <a
50705073
href="#valuea-def-color" title="&lt;color&gt;"><strong>4.</strong></a>
50715074

5075+
<li>currentColor, <a href="#currentcolor0" title=currentColor>3.1.</a>, <a
5076+
href="#currentcolor1" title=currentColor>3.1.</a>, <a
5077+
href="#currentcolor2" title=currentColor>3.1.</a>, <a
5078+
href="#currentcolor3" title=currentColor><strong>4.4.</strong></a>
5079+
50725080
<li>opacity, <a href="#opacity" title=opacity><strong>3.2.</strong></a>
50735081

50745082
<li>sRGB, <a href="#srgb" title=sRGB>4.1.</a>, <a href="#srgb0"
50755083
title=sRGB><strong>4.2.1.</strong></a>
5084+
5085+
<li>transparent, <a href="#transparent0" title=transparent>3.1.</a>, <a
5086+
href="#transparent1" title=transparent><strong>4.2.3.</strong></a>
50765087
</ul>
50775088
<!--end-index-->
50785089

css3-color/Overview.src.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ <h3 id="foreground">Foreground color: the <span class="property">'color'</span>
308308
<ul>
309309
<li>The computed value for HTML4 keywords, RGB hex values and SVG color keywords
310310
is the equivalent triplet of numerical RGB values, e.g. <span class="example">six digit hex value or rgb(...) functional value</span>, with an alpha value of 1.
311-
<li>The computed value of the keyword 'transparent' is the quadruplet of all zero numerical RGBA values, e.g. <span class="example">rgba(0,0,0,0)</span>.
312-
<li>See the definition of the '<a href="#currentcolor">currentColor</a>' for how its computed value is determined.
311+
<li>The computed value of the keyword '<span class="index-inst">transparent</span>' is the quadruplet of all zero numerical RGBA values, e.g. <span class="example">rgba(0,0,0,0)</span>.
312+
<li>See the definition of the '<a href="#currentcolor" class="index-inst">currentColor</a>' for how its computed value is determined.
313313
<li>For all other values, the computed value is the specified value.
314314
</ul></td>
315315
</tr>
@@ -318,8 +318,8 @@ <h3 id="foreground">Foreground color: the <span class="property">'color'</span>
318318

319319
<p>This property describes the foreground color of an element's text
320320
content. In addition it is used to provide a potential indirect value
321-
(<a href="#currentcolor">currentColor</a>) for any <em>other</em> properties that accept color values.
322-
If the 'currentColor' keyword is set on the 'color' property itself, it is treated as 'color:inherit'.
321+
(<a href="#currentcolor" class="index-inst">currentColor</a>) for any <em>other</em> properties that accept color values.
322+
If the '<span class="index-inst">currentColor</span>' keyword is set on the 'color' property itself, it is treated as 'color:inherit'.
323323
</p>
324324
<p>
325325
There are different ways to specify lime green:
@@ -622,7 +622,7 @@ <h4 id="transparent">'transparent' color keyword</h4>
622622
Open eBook(tm) Publication Structure 1.0.1 [[OEB101]] extended the 'color' property to also accept the 'transparent' keyword. CSS3 extends the color value to include the 'transparent' keyword to allow its use with all properties that accept a &lt;color&gt; value. This simplifies the definition of those properties in CSS3.
623623
</p>
624624

625-
<dl><dt>transparent</dt>
625+
<dl><dt class="index-def">transparent</dt>
626626
<dd>Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value.
627627
</dd>
628628
</dl>
@@ -1638,7 +1638,7 @@ <h3 id="currentcolor">'currentColor' color keyword</h3>
16381638
<a href="http://www.w3.org/TR/SVG/color.html#ColorProperty">SVG 1.0 introduced the 'currentColor' value</a>
16391639
for the 'fill', 'stroke', 'stop-color', 'flood-color', 'lighting-color' properties. CSS3 extends the color value to include the 'currentColor' keyword to allow its use with all properties that accept a &lt;color&gt; value. This simplifies the definition of those properties in CSS3.
16401640
</p>
1641-
<dl><dt>currentColor</dt>
1641+
<dl><dt class="index-def">currentColor</dt>
16421642
<dd>The value of the 'color' property. The computed value of the 'currentColor' keyword is the computed value of the 'color' property. If the 'currentColor' keyword is set on the 'color' property itself, it is treated as 'color:inherit' at parse time.
16431643
</dd>
16441644
</dl>

0 commit comments

Comments
 (0)