Skip to content

Commit 41dac2f

Browse files
committed
Editorial: align currentcolor with CSS
It's spelled lowercase these days and as all CSS values is single quoted.
1 parent eb2d546 commit 41dac2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3442,7 +3442,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
34423442
<li><p>If <var>color</var> is failure, then return failure.</p></li>
34433443

34443444
<li>
3445-
<p>If <var>color</var> is <code>currentColor</code>, then:</p>
3445+
<p>If <var>color</var> is <span>'currentcolor'</span>, then:</p>
34463446

34473447
<ol>
34483448
<li><p>If <var>element</var> is not given, then set <var>color</var> to <span>opaque
@@ -3557,8 +3557,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
35573557
<ul class="brief">
35583558
<li><dfn data-x-href="https://drafts.csswg.org/css-color/#named-color">named color</dfn></li>
35593559
<li><dfn data-x-href="https://drafts.csswg.org/css-color/#typedef-color">&lt;color></dfn></li>
3560-
<li><dfn data-x-href="https://drafts.csswg.org/css-color/#valdef-color-currentcolor">currentColor</dfn></li>
35613560
<li>The <dfn data-x-href="https://drafts.csswg.org/css-color/#the-color-property">'color'</dfn> property</li>
3561+
<li>The <dfn data-x-href="https://drafts.csswg.org/css-color/#valdef-color-currentcolor" id="currentcolor">'currentcolor'</dfn> value</li>
35623562
<li><dfn data-x-href="https://drafts.csswg.org/css-color/#opaque-black">opaque black</dfn></li>
35633563
<li><dfn data-x-href="https://drafts.csswg.org/css-color/#transparent-black">transparent black</dfn></li>
35643564
</ul>

0 commit comments

Comments
 (0)