New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-text-decor-3] Specify animation addition/accumulation behavior for text-shadow #4375
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