8000 [css-backgrounds-3] Missing <shadow> color defaults to currentColor (… · w3c/csswg-drafts@76098be · GitHub
Skip to content

Commit 76098be

Browse files
committed
[css-backgrounds-3] Missing <shadow> color defaults to currentColor (not some unnamed thing with the same behavior). #2766
1 parent 46c9f23 commit 76098be

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

css-backgrounds-3/Overview.bs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2696,7 +2696,7 @@ has been moved to the <a href="https://www.w3.org/TR/css3-break/">CSS Fragmentat
26962696
<dt><dfn value for=box-shadow id="shadow-color"><<color>></dfn>
26972697
<dd>
26982698
Specifies the color of the shadow.
2699-
If the color is absent, the used color is taken from the 'color' property.
2699+
If the color is absent, it defaults to ''currentColor''.
27002700

27012701
<dt><dfn value for=box-shadow id="shadow-inset">inset</dfn>
27022702
<dd>If present, the ''box-shadow/inset'' keyword changes the drop shadow
@@ -2974,6 +2974,16 @@ Changes</h2>
29742974
<h3 id="changes-2017-10">
29752975
Changes since the 17 October 2017 Candidate Recommendation</h3>
29762976

2977+
<ul>
2978+
<li>
2979+
Clarified that an omitted <<color>> in a <<shadow>> defaults to ''currentColor'',
2980+
not some mysterious unnamed value with the same behavior.
2981+
(<a href="https://github.com/w3c/csswg-drafts/issues/2766">2766</a>)
2982+
<blockquote>
2983+
<p>If the color is absent, <ins>it defaults to ''currentColor''</ins>
2984+
<del>the used color is taken from the 'color' property.</del>
2985+
</blockquote>
2986+
</ul>
29772987

29782988
<h3 id="changes-2014-09">
29792989
Changes since the 9 September 2014 Candidate Recommendation</h3>

0 commit comments

Comments
 (0)