Closed
Bug 1504327
Opened 6 years ago
Closed 6 years ago
Support |rotate: {x|y|z} <angle>| for individual transform
Categories
(Core :: CSS Transitions and Animations, enhancement, P3)
Core
CSS Transitions and Animations
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: boris, Assigned: boris)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
The spec [1] says it is possible to use the `x`, `y`, `z` as the axis for "rotate" property. i.e.
> rotate: none | [ x | y | z | <number>{3} ]? && <angle>
For now, we only can use number as the axis.
Besides, "rotate" is not "GETCS_NEEDS_LAYOUT_FLUSH", so it is possible to serialize it by servo.
[1] https://drafts.csswg.org/css-transforms-2/#propdef-rotate
Assignee | ||
Comment 1•6 years ago
|
||
New updated spec about serializing this: https://drafts.csswg.org/css-transforms-2/#individual-transform-serialization
Assignee | ||
Comment 2•6 years ago
|
||
Updated•6 years ago
|
Keywords: dev-doc-needed
Assignee | ||
Comment 3•6 years ago
|
||
Update the parser and the serialization for rotate to support [x|y|z]
keywords.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → boris.chiou
Updated•6 years ago
|
Attachment #9024124 -
Attachment description: Bug 1504327 - Support x, y, z, keywords on rotate. → Bug 1504327 - Support keywords [x|y|z] on rotate.
Assignee | ||
Comment 4•6 years ago
|
||
Pushed by boris.chiou@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/3bc1fa72e7eb
Support keywords [x|y|z] on rotate. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/14051 for changes under testing/web-platform/tests
Comment 7•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Upstream PR merged
Comment 9•6 years ago
|
||
Note to MDN writers:
The individual transform properties are still disabled behind a pref, AFAICT, so I'm not adding a note to the Fx65 rel notes about this.
We do already document the rotate property:
https://developer.mozilla.org/en-US/docs/Web/CSS/rotate
It is pretty much accurate, so this will probably just be a matter of updating the compat data.
Comment 10•6 years ago
|
||
BCD updated (PR https://github.com/mdn/browser-compat-data/pull/3317)
Syntax updated (PR https://github.com/mdn/data/pull/347)
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•