W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2019

Re: [csswg-drafts] [css-color-adjust-1] Disallow repetition of color-scheme keywords? (#3848)

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Wed, 22 May 2019 15:12:37 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-494846215-1558537954-sysbot+gh@w3.org>
@emilio the repeated values in `transition-property` have an actual meaning and impact, because they affect the interpretation of repeats in the other `transition-*` properties, so they aren't ignored and can't be collapsed.

The general rule about simplifying computed style to not include redundant content is useful for animations and transitions in the sense that it makes it easier for the animation engines to know if two values are different & how to match them up for interpolating between them.

But that said, I don't think animations and transitions are important for this property. And I can't actually think of another property that _allows_ arbitrary repeats of tokens but collapses them in the computed value. @fantasai do you have specific examples?

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3848#issuecomment-494846215 using your GitHub account
Received on Wednesday, 22 May 2019 15:12:39 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:48 UTC