Skip to content

Commit 6392861

Browse files
stephenmcgruerbirtles
authored andcommitted
Fix box-shadow addition/accumulation
To align with other list-list properties, box-shadow addition/accumulation is changed to be defined as concatenation for addition (previously component-wise addition) and component-wise addition for accumulation (previously unspec'd). Fixes #4330
1 parent 0b650b4 commit 6392861

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

web-animations-1/Overview.bs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ spec:cssom-1;
213213
type: dfn;
214214
text: CSS declaration block
215215
spec:infra; type:dfn; text:list
216+
spec:infra; type:dfn; for:list; text:extend
216217
</pre>
217218

218219
<script type="text/x-mathjax-config">
@@ -6204,8 +6205,13 @@ with shadows whose color is ''transparent'',
62046205
all lengths are ''0'',
62056206
and whose ''shadow/inset'' (or not) matches the longer list.
62066207

6207-
<a lt="value addition">Addition</a> of [=shadow lists=] follows the
6208+
<a lt="value addition">Addition</a> of two [=shadow lists=]
6209+
<var>V<sub>a</sub></var> and <var>V<sub>b</sub></var> is defined as <a>list</a>
6210+
concatenation such that <var ignore=''>V<sub>result</sub></var> is equal to
6211+
<var>V<sub>a</sub></var> <a lt="extend">extended</a> with
6212+
<var>V<sub>b</sub></var>.
6213+
6214+
<a lt="value accumulation">Accumulation</a> of [=shadow lists=] follows the
62086215
matching rules for interpolation above, performing addition on each component
6209-
according to its type,
6210-
or falling back to [=discrete=] animation if the ''shadow/inset'' values
6211-
do not match.
6216+
according to its type, or falling back to [=discrete=] animation if the
6217+
''shadow/inset'' values do not match.

0 commit comments

Comments
 (0)