Initial value of CSS independent transform properties should be 'none' |
||
Issue descriptionFeature not shipped. Affect layout tests only. What steps will reproduce the problem? (1) See layout test included in https://codereview.chromium.org/2454543002/ What is the expected output? Setting initial value to those properties should make computed value to become 'none'. What do you see instead? The computed value is identity matrix.
,
Oct 27 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a022d98375b213ad9f497f220d0b64d6ed77cbc9 commit a022d98375b213ad9f497f220d0b64d6ed77cbc9 Author: trchen <trchen@chromium.org> Date: Thu Oct 27 04:39:35 2016 Correct the initial value of CSS independent transform properties According to the spec[1], the initial value of translate, scale, and rotate should be 'none', which doesn't force stacking context unlike identity matrix. This CL also make sure the constructor always initialize these properties to initial value. [1] https://drafts.csswg.org/css-transforms-2/#individual-transforms BUG= 659434 Review-Url: https://codereview.chromium.org/2454543002 Cr-Commit-Position: refs/heads/master@{#427941} [add] https://crrev.com/a022d98375b213ad9f497f220d0b64d6ed77cbc9/third_party/WebKit/LayoutTests/transforms/independent-transform-initial-value-expected.html [add] https://crrev.com/a022d98375b213ad9f497f220d0b64d6ed77cbc9/third_party/WebKit/LayoutTests/transforms/independent-transform-initial-value.html [modify] https://crrev.com/a022d98375b213ad9f497f220d0b64d6ed77cbc9/third_party/WebKit/Source/core/style/ComputedStyle.h [modify] https://crrev.com/a022d98375b213ad9f497f220d0b64d6ed77cbc9/third_party/WebKit/Source/core/style/StyleTransformData.cpp
,
Oct 28 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by mikelawther@chromium.org
, Oct 26 2016