Skip to content

[css-transforms-2] Don't maintain state for whether individual transform property values are 2D or 3D. - #6147

Merged
dbaron merged 1 commit into
w3c:mainfrom
dbaron:skip-z-component
Mar 31, 2021
Merged

dbaron merged 1 commit into
w3c:mainfrom
dbaron:skip-z-component

Conversation

@dbaron

@dbaron dbaron commented Mar 25, 2021

Copy link
Copy Markdown
Member

The group resolved in #3305 that individual transform properties do not
distinguish between values specified using 2D syntax and values
specified using 3D syntax that produce the same matrices.

Fixes the individual transforms part of #3305.

cc @BorisChiou (who isn't in the list of reviewers I can choose from) and also @smfr (who is welcome to review as well, and can let me know if he wants me to wait for his review)

…orm property values are 2D or 3D.

The group resolved in w3c#3305 that individual transform properties do not
distinguish between values specified using 2D syntax and values
specified using 3D syntax that produce the same matrices.

Fixes the individual transforms part of w3c#3305.
@dbaron
dbaron requested a review from tabatkins March 25, 2021 23:00
@dbaron dbaron self-assigned this Mar 25, 2021

@BorisChiou BorisChiou left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dbaron
dbaron merged commit b79645c into w3c:main Mar 31, 2021
webkit-commit-queue pushed a commit to WebKit/WebKit that referenced this pull request Apr 29, 2021
…z" keyword for the rotate property

https://bugs.webkit.org/show_bug.cgi?id=225101

Reviewed by Antti Koivisto.

LayoutTests/imported/w3c:

Update the tests per web-platform-tests/wpt#28712 as well as their expectations.

* web-platform-tests/css/css-transforms/animation/rotate-composition-expected.txt:
* web-platform-tests/css/css-transforms/animation/rotate-interpolation-expected.txt:
* web-platform-tests/css/css-transforms/animation/rotate-interpolation.html:
* web-platform-tests/css/css-transforms/parsing/rotate-parsing-valid-expected.txt:
* web-platform-tests/css/css-transforms/parsing/rotate-parsing-valid.html:

Source/WebCore:

The CSS spec has changed to drop the "z" keyword or any other axis parallel to the z axis when parsing the
rotate property in w3c/csswg-drafts#6147.

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::computedRotate):
* css/parser/CSSPropertyParser.cpp:
(WebCore::consumeRotate):


Canonical link: https://commits.webkit.org/237155@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
philn pushed a commit to philn/old-webkit that referenced this pull request May 2, 2021
…z" keyword for the rotate property

https://bugs.webkit.org/show_bug.cgi?id=225101

Reviewed by Antti Koivisto.

LayoutTests/imported/w3c:

Update the tests per web-platform-tests/wpt#28712 as well as their expectations.

* web-platform-tests/css/css-transforms/animation/rotate-composition-expected.txt:
* web-platform-tests/css/css-transforms/animation/rotate-interpolation-expected.txt:
* web-platform-tests/css/css-transforms/animation/rotate-interpolation.html:
* web-platform-tests/css/css-transforms/parsing/rotate-parsing-valid-expected.txt:
* web-platform-tests/css/css-transforms/parsing/rotate-parsing-valid.html:

Source/WebCore:

The CSS spec has changed to drop the "z" keyword or any other axis parallel to the z axis when parsing the
rotate property in w3c/csswg-drafts#6147.

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::computedRotate):
* css/parser/CSSPropertyParser.cpp:
(WebCore::consumeRotate):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@276768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants