[css-text-decor-3] Specify animation addition/accumulation behavior for text-shadow#4375
[css-text-decor-3] Specify animation addition/accumulation behavior for text-shadow#4375stephenmcgruer wants to merge 2 commits intow3c:mainfrom
Conversation
|
Ping and cc @birtles |
|
If there's already a definition for addition and accumulation of shadows, why aren't we reusing it? I don't think text-shadow should get its own one-off definition here. |
|
This may be overly pedantic. I'm not very familiar with box-shadow and text-shadow, so it's unclear to me whether they differ enough to have different definitions for addition/accumulation. I would have thought if they were alike enough then we would have extracted a common value for them out and could define things like computed-style and animation on that? But if a |
|
Committed cross-references between text-shadow and Web Animations' shadow lists. Closing out this PR. @stephenmcgruer Let me know if there's any problem (preferably by filing a new issue; I'm unlikely to notice replies here, tbh). |
Previously there was no definition of text-shadow composition. To match the behavior of other list-like properties such as transform lists (https://drafts.csswg.org/css-transforms-2/#combining-transform-lists) and box-shadow (#4374), this PR specs addition as list concatenation and accumulation as component-wise addition.
See #4330