DescriptionRemove double constructors that assume degrees from CSSRotation
Instead, use only constructors that take CSSAngleValues, so that the
unit is explicit, then actually store this information.
This is to reflect the spec change that removed these constructors in
https://github.com/w3c/css-houdini-drafts/commit/535591271f88d71fd7ca60dc4132db15f93b980a
Also includes:
- Adding support for making a CSSAngleValue out of a
CSSPrimitiveValue, to continue supporting getting
CSSTransform(CSSRotation) from inline StylePropertyMaps.
- Moves some of the inlineStyle CSSRotation tests to use the
property-suite for more thorough testing. I was not able
to convert all the tests, as I still have to figure out
how to test the behaviour when the value is set using the
old CSSOM to something like "rotateX", "rotateY" and
"rotateZ".
BUG=545318
Committed: https://crrev.com/0eebfb8ffb2b8730c2679d41c011f2871b28cdf1
Cr-Commit-Position: refs/heads/master@{#439404}
Patch Set 1 #Patch Set 2 : Add in angle fromCSSValue #Patch Set 3 : Move some rotation+inline style tests to property suite #
Total comments: 2
Patch Set 4 : Add tests for calc angles #Patch Set 5 : Add missing new lines in expectation file #
Total comments: 2
Patch Set 6 : Fix test #Messages
Total messages: 41 (25 generated)
|