Skip to content

Conversation

@birtles
Copy link
Contributor

@birtles birtles commented Oct 16, 2018

This fixes #927.

@birtles birtles added the css-transforms-1 Current Work label Oct 16, 2018
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Oct 19, 2018
…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
@birtles
Copy link
Contributor Author

birtles commented Oct 23, 2018

Anyone care to review this?

We've already landed it in Firefox and upstreamed the tests to wpt.

@birtles
Copy link
Contributor Author

birtles commented Oct 26, 2018

Review ping? @tabatkins?

@dirkschulze
Copy link
Contributor

@birtles I will review it on Monday. I’d like to look at it before it lands.

emilio pushed a commit to emilio/servo that referenced this pull request Oct 28, 2018
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]].
Copy link
Member

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.

Copy link
Contributor Author

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.

@tabatkins
Copy link
Member

Approved, but I have one suggestion for improving an example.

@birtles birtles force-pushed the transform-interpolation-fixes branch from 719d477 to 81d7081 Compare November 7, 2018 04:28
@birtles birtles merged commit 2fc0d92 into w3c:master Nov 7, 2018
@birtles birtles deleted the transform-interpolation-fixes branch November 7, 2018 04:29
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 3, 2019
…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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 3, 2019
…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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 3, 2019
…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
bhearsum pushed a commit to mozilla-releng/staging-firefox that referenced this pull request May 1, 2025
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

css-transforms-1 Current Work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[css-transforms] Smarter interpolation of truncated transform lists

3 participants