Re: [csswg-drafts] [css-contain-2] Combination of shortcuts and values (#5506)

I agree that a combination of shorthands and values should be possible. Just yesterday, I wanted to use `content style` but this was not permitted (in Chrome) and I had to write `layout paint style` which is not terrible, but raises more questions than being able to use the shorthand.

I am inclined to say that any combination of unique shorthands and values should be possible. I assume UAs already expand the shorthands to a set of values and it is relatively easy to add a single value to this set. And when this value already exists in the set it is ignored (because it is a set and not a list).
That being said, it could be an argument that users should be trained to use the correct values and allowing duplicates - even via a shorthand - is therefore not permitted.

-- 
GitHub Notification of comment by TimVevida
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5506#issuecomment-690967368 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 11 September 2020 08:57:38 UTC