-
Notifications
You must be signed in to change notification settings - Fork 756
[css-transforms-1] Specify the "pad, interpolate prefix, then smoosh" interpolation behavior #3215
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
Conversation
…or transform lists; r=hiro As discussed in: w3c/csswg-drafts#927 with tentative spec text: w3c/csswg-drafts#3215 Depends on D9184 Differential Revision: https://phabricator.services.mozilla.com/D9185 --HG-- extra : moz-landing-system : lando
|
Anyone care to review this? We've already landed it in Firefox and upstreamed the tests to wpt. |
|
Review ping? @tabatkins? |
|
@birtles I will review it on Monday. I’d like to look at it before it lands. |
…sform lists. As discussed in: w3c/csswg-drafts#927 with tentative spec text: w3c/csswg-drafts#3215 Differential Revision: https://phabricator.services.mozilla.com/D9185
| while the remainder of each list-- | ||
| ''rotate(90deg) translate(20px)'' and ''translate(10px) rotate(270deg)''-- | ||
| will first be converted to equivalent 4x4 matrices | ||
| and then interpolated as described in [[#matrix-interpolation]]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example, if I'm thinking correctly, gives the same result whether you use whole-property matrix interpolation or this smarter interpolation. I recommend providing an example that showcases the differences between the two; an obvious example would be having the common prefix be a rotate(0deg) and rotate(360deg), which is hugely different.
Then you can also have a small note in this that the spec previously used whole-property matrix interpolation, which would have a different effect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, good idea. I have no idea why I chose the values I did.
|
Approved, but I have one suggestion for improving an example. |
… interpolation behavior This fixes w3c#927.
719d477 to
81d7081
Compare
…or transform lists; r=hiro As discussed in: w3c/csswg-drafts#927 with tentative spec text: w3c/csswg-drafts#3215 Depends on D9184 Differential Revision: https://phabricator.services.mozilla.com/D9185 UltraBlame original commit: 660b4ee6c9133fb2fb9fee9d70cf0e8d9b04051a
…or transform lists; r=hiro As discussed in: w3c/csswg-drafts#927 with tentative spec text: w3c/csswg-drafts#3215 Depends on D9184 Differential Revision: https://phabricator.services.mozilla.com/D9185 UltraBlame original commit: 660b4ee6c9133fb2fb9fee9d70cf0e8d9b04051a
…or transform lists; r=hiro As discussed in: w3c/csswg-drafts#927 with tentative spec text: w3c/csswg-drafts#3215 Depends on D9184 Differential Revision: https://phabricator.services.mozilla.com/D9185 UltraBlame original commit: 660b4ee6c9133fb2fb9fee9d70cf0e8d9b04051a
…or transform lists; r=hiro As discussed in: w3c/csswg-drafts#927 with tentative spec text: w3c/csswg-drafts#3215 Depends on D9184 Differential Revision: https://phabricator.services.mozilla.com/D9185
This fixes #927.