Re: [css-houdini-drafts] [css-properties-values-api] Composition behavior of lists

Just to add some thoughts on the matter, this depends a lot on how the particular custom list is used. This may be an argument for supporting either behavior, though it feels to me that longterm maybe the custom property should specify what the right additive behavior is.

For example, lets say that the custom property represents top / left / bottom / right border attributes, concatenating will not do what you want. However, if the custom property represents where to draw bubbles in a background image, then either could make sense, and if the lists are of different lengths you probably wanted to concatenate them.

-- 
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/799#issuecomment-415786657 using your GitHub account

Received on Friday, 24 August 2018 15:02:42 UTC