Skip to content

Commit 2d702bb

Browse files
committed
[css-backgrounds-3] Match grammar of <<shadow>> to that of text-shadow/drop-shadow() and implementations. #2305
1 parent b767fc1 commit 2d702bb

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

css-backgrounds-3/Overview.bs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2748,7 +2748,7 @@ has been moved to the <a href="https://www.w3.org/TR/css3-break/">CSS Fragmentat
27482748
represented by 2-4 length values, an optional color, and an optional ''box-shadow/inset'' keyword.
27492749
Omitted lengths are 0; omitted colors default to the value of the 'color' property.
27502750
<pre class=prod>
2751-
<dfn><<shadow>></dfn> = inset? &amp;&amp; <<length>>{2,4} &amp;&amp; <<color>>?</pre>
2751+
<dfn><<shadow>></dfn> = <<color>>? &amp;&amp; <<length>>{2,4} &amp;&amp; inset?</pre>
27522752

27532753
<p>The components of each <<shadow>> are interpreted as follows:
27542754

@@ -3055,6 +3055,17 @@ The lists below describe which features from this specification are in each leve
30553055
<h2 id="changes">
30563056
Changes</h2>
30573057

3058+
<h3 id="changes-2017-10">
3059+
Changes since the 17 October 2017 Candidate Recommendation</h3>
3060+
3061+
<ul>
3062+
<li>Inverted order of <<shadow>> grammar to match browser serialization and 'text-shadow'/''drop-shadow()''.
3063+
(<a href="https://github.com/w3c/csswg-drafts/issues/2305">Issue 2305</a>)
3064+
<blockquote>
3065+
<pre><dfn><<shadow>></dfn> = <del>inset</del><ins><<color>></ins>? &amp;&amp; <<length>>{2,4} &amp;&amp; <del><<color>></del><ins>inset</ins>?</pre>
3066+
</blockquote>
3067+
</ul>
3068+
30583069
<h3 id="changes-2014-09">
30593070
Changes since the 9 September 2014 Candidate Recommendation</h3>
30603071

0 commit comments

Comments
 (0)