You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css3-color/Overview.src.html
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -308,8 +308,8 @@ <h3 id="foreground">Foreground color: the <span class="property">'color'</span>
308
308
<ul>
309
309
<li>The computed value for HTML4 keywords, RGB hex values and SVG color keywords
310
310
is the equivalent triplet of numerical RGB values, e.g. <spanclass="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. <spanclass="example">rgba(0,0,0,0)</span>.
312
-
<li>See the definition of the '<ahref="#currentcolor">currentColor</a>' for how its computed value is determined.
311
+
<li>The computed value of the keyword '<spanclass="index-inst">transparent</span>' is the quadruplet of all zero numerical RGBA values, e.g. <spanclass="example">rgba(0,0,0,0)</span>.
312
+
<li>See the definition of the '<ahref="#currentcolor"class="index-inst">currentColor</a>' for how its computed value is determined.
313
313
<li>For all other values, the computed value is the specified value.
314
314
</ul></td>
315
315
</tr>
@@ -318,8 +318,8 @@ <h3 id="foreground">Foreground color: the <span class="property">'color'</span>
318
318
319
319
<p>This property describes the foreground color of an element's text
320
320
content. In addition it is used to provide a potential indirect value
321
-
(<ahref="#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
+
(<ahref="#currentcolor"class="index-inst">currentColor</a>) for any <em>other</em> properties that accept color values.
322
+
If the '<spanclass="index-inst">currentColor</span>' keyword is set on the 'color' property itself, it is treated as 'color:inherit'.
323
323
</p>
324
324
<p>
325
325
There are different ways to specify lime green:
@@ -622,7 +622,7 @@ <h4 id="transparent">'transparent' color keyword</h4>
622
622
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 <color> value. This simplifies the definition of those properties in CSS3.
623
623
</p>
624
624
625
-
<dl><dt>transparent</dt>
625
+
<dl><dtclass="index-def">transparent</dt>
626
626
<dd>Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value.
627
627
</dd>
628
628
</dl>
@@ -1638,7 +1638,7 @@ <h3 id="currentcolor">'currentColor' color keyword</h3>
1638
1638
<ahref="http://www.w3.org/TR/SVG/color.html#ColorProperty">SVG 1.0 introduced the 'currentColor' value</a>
1639
1639
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 <color> value. This simplifies the definition of those properties in CSS3.
1640
1640
</p>
1641
-
<dl><dt>currentColor</dt>
1641
+
<dl><dtclass="index-def">currentColor</dt>
1642
1642
<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.
0 commit comments