Automatic update from web-platform-testsCSS: Serialize % before px in calc
https://drafts.csswg.org/css-values/#math-function-serialize-a-summation
Percentage should be serialized before dimensions with units
Also fix typo in WPTs svg/geometry/parsing/*-computed.svg
calc(50% + 60x) becomes calc(50% + 60px)
BUG=904805
Change-Id: I2ecb732564c405f9315a1ef06e5bd0777c407f19
Reviewed-on: https://chromium-review.googlesource.com/c/1341289
Reviewed-by: Rune Lillesveen <[email protected]>
Commit-Queue: Eric Willigers <[email protected]>
Cr-Commit-Position: refs/heads/master@{#609262}
--
wpt-commits: 6f90ad64b9f531ae835623e445a6010031a52aa7
wpt-pr: 14121
Automatic update from web-platform-testsImprove robustness of wpt animation interpolation tests.
This patch fixes the problem where subtle changes to numerical values in matrix interpolation cause mismatches in the expected results.
To address the issue:
* Styles are checked to see if they are of the form matrix(...) or matrix3d(...).
* If the style is a matrix, then arguments are rounded and the style is reconstructed.
Bug: 797472
Change-Id: I44d6e0ed13e24dc2ecfeeacbcd4809d6dcdb6465
Reviewed-on: https://chromium-review.googlesource.com/c/1337640
Reviewed-by: Xida Chen <[email protected]>
Commit-Queue: Kevin Ellis <[email protected]>
Cr-Commit-Position: refs/heads/master@{#608466}
--
wpt-commits: 794b7ee9292f09802cd41e41a04be420b1d7bec3
wpt-pr: 14080
Automatic update from web-platform-testsImprove robustness of wpt animation interpolation tests.
This patch fixes the problem where subtle changes to numerical values in matrix interpolation cause mismatches in the expected results.
To address the issue:
* Styles are checked to see if they are of the form matrix(...) or matrix3d(...).
* If the style is a matrix, then arguments are rounded and the style is reconstructed.
Bug: 797472
Change-Id: I44d6e0ed13e24dc2ecfeeacbcd4809d6dcdb6465
Reviewed-on: https://chromium-review.googlesource.com/c/1337640
Reviewed-by: Xida Chen <[email protected]>
Commit-Queue: Kevin Ellis <[email protected]>
Cr-Commit-Position: refs/heads/master@{#608466}
--
wpt-commits: 794b7ee9292f09802cd41e41a04be420b1d7bec3
wpt-pr: 14080
Basically, we rewrite the type of generics::transform::Translate and its
ToCss to match the spec. Besides, we always serialize Translate by servo,
so we could drop a lot of duplicated code.
Differential Revision: https://phabricator.services.mozilla.com/D11206
The current spec says: "If only the X value is given, the Y value
defaults to the same value.", so we should update the behavior.
Besides, we also update the serialization, so we serialization both
specified and computed value by servo. We enable the preference
for all the css-transforms, so some of them are passed now.
Differential Revision: https://phabricator.services.mozilla.com/D10638
Probably not the most reliable test to catch this (as it depends on
the font and such) but still fails here and I'd like WPT to have a test-case
for this. I'm looking into adding a WR test-case ATM, though fighting with
it way too much.
Differential Revision: https://phabricator.services.mozilla.com/D8438
When we're creating a scrollframe with let's say, display: flex or grid, the
containing block is the grid container itself, but the transformed frame is the
scroll frame.
This is the only caller that (incorrectly) passes the same frame to
PushAbsoluteContainingBlock.
Our painting code deals with it, mostly, because it starts from the placeholder
to paint fixed items, and it hits the scrollframe, but it gets confused
sometimes causing the issue described here.
I'll find a way to add a crashtest for this, and maybe a reftest, though this
works in non-WR.
We should probably add a few more assertions to the frame constructor...
Differential Revision: https://phabricator.services.mozilla.com/D8724
Probably not the most reliable test to catch this (as it depends on
the font and such) but still fails here and I'd like WPT to have a test-case
for this. I'm looking into adding a WR test-case ATM, though fighting with
it way too much.
Differential Revision: https://phabricator.services.mozilla.com/D8438
In the button case we have a ::-moz-button-content pseudo-element, but this is
also an issue for tables and such.
These are supposed to be implementation details, so avoid looking at them for
preserve-3d.
I don't know how I didn't think of this on the regressing bug.
Differential Revision: https://phabricator.services.mozilla.com/D6131
In the button case we have a ::-moz-button-content pseudo-element, but this is
also an issue for tables and such.
These are supposed to be implementation details, so avoid looking at them for
preserve-3d.
I don't know how I didn't think of this on the regressing bug.
Differential Revision: https://phabricator.services.mozilla.com/D6131
In the button case we have a ::-moz-button-content pseudo-element, but this is
also an issue for tables and such.
These are supposed to be implementation details, so avoid looking at them for
preserve-3d.
I don't know how I didn't think of this on the regressing bug.
Differential Revision: https://phabricator.services.mozilla.com/D6131
Automatic update from web-platform-testssupport directory adjacent to parsing tests (#12541)
From https://github.com/web-platform-tests/wpt/pull/12465#issuecomment-413506239
"The CSS build system finds tests (based on <link rel=help>), moves
them to the destination direction (roughly one per spec), and then
also moves any files in an adjacent support directory. "
The support directory for the parsing test files is now adjacent to
those files.
The parsing tests previously in box-shadow-syntax-001.html
are moved into parsing/box-shadow-[in]valid.html, for consistency
with other parsing tests, and to avoid the need for an extra
copy of parsing-testcommon.js
fixes#12419
--
wpt-commits: 203c34855f6871d6e55eaf7b55b50dad563f781f
wpt-pr: 12541
Automatic update from web-platform-testsRemove reviewers who have not joined the web-platform-tests org (#11888)
Part of https://github.com/web-platform-tests/wpt/issues/11293.
Reminder also in https://github.com/web-platform-tests/wpt/issues/11568.
This does not fully resolve#11293, as a few non-responders where
there would be no remaining reviewers are left, and one known to be
out-of-office. These will be handled separately to finish this.
--
wpt-commits: 8fea122cf1ed5b392c86aae5e445e7553ad83deb
wpt-pr: 11888
Automatic update from web-platform-testsAdd some basic tests for the 'transform-box' property (#7971)
Test for the 'transform-box' 'view-box' value with the viewport being mutated.
--
wpt-commits: 1f89b5e2f33d93631bcc2365124ee7f1f8200e74
wpt-pr: 7971
Automatic update from web-platform-testsMerge pull request #10973 from csnardi/parsing-tests
Use getPropertyValue in parsing-testcommon.js
--
wpt-commits: b18d298125b77bb5da7b143500a24bbacea91746
wpt-pr: 10973
Automatic update from web-platform-testsMerge pull request #10593 from csnardi/css-transforms-computed
Correct computed value of transform
--
wpt-commits: fb62383e4e08bcd8b2e902eaa86248d14e66873a
wpt-pr: 10593
Automatic update from web-platform-testsCSS translate: serialize % as percent for computed values
The CSS translate property no longer resolves percentages
in getComputedStyle results.
CSS WG Resolution:
RESOLVED: % values of translate are serialized as percent for
computed values. Add note making the behavior explicit.
https://github.com/w3c/csswg-drafts/issues/2124
BUG=811027
Change-Id: I6f9b60c285d1eccc2e13ff0e806794df5cce5151
Reviewed-on: https://chromium-review.googlesource.com/912052
Commit-Queue: Eric Willigers <[email protected]>
Reviewed-by: Fredrik Söderquist <[email protected]>
Cr-Commit-Position: refs/heads/master@{#536010}
wpt-commits: 9b23a0cbf6476d3f1d0b25b9bda8e5249725b00b
wpt-pr: 9469
wpt-commits: 9b23a0cbf6476d3f1d0b25b9bda8e5249725b00b
wpt-pr: 9469
Automatic update from web-platform-testsCSS scale: Modified behaviour to match spec
The spec for CSS scale has been updated to have the y-scale equal to the x-scale when only one number is provided
Spec: https://drafts.csswg.org/css-transforms-2/#propdef-scale
Bug: 679237
Change-Id: I3b36434e8761efa9e0eb349a495a3ef5631e8d16
Reviewed-on: https://chromium-review.googlesource.com/910129
Commit-Queue: Eric Willigers <[email protected]>
Reviewed-by: nainar <[email protected]>
Reviewed-by: Eric Willigers <[email protected]>
Cr-Commit-Position: refs/heads/master@{#535831}
wpt-commits: 1e67114d23bc2e4e73c99bd9eddd01b1b57f986f
wpt-pr: 9447
wpt-commits: 1e67114d23bc2e4e73c99bd9eddd01b1b57f986f
wpt-pr: 9447
Automatic update from web-platform-testsCSS Rotate: supports new syntax
The spec for CSS rotate has updated to allow for using x, y, or z instead of numbers and also allowing for the angle to be specified first.
Spec: https://drafts.csswg.org/css-transforms-2/#propdef-rotate
Bug: 810648
Change-Id: I89eebfb6fd795f02edd47f68b2dd7b9f97e0863b
Reviewed-on: https://chromium-review.googlesource.com/910534
Commit-Queue: Eric Willigers <[email protected]>
Reviewed-by: Eric Willigers <[email protected]>
Cr-Commit-Position: refs/heads/master@{#535829}
wpt-commits: 1f98b2f630a5266f70ce67aee9385accfd934669
wpt-pr: 9452
wpt-commits: 1f98b2f630a5266f70ce67aee9385accfd934669
wpt-pr: 9452
Automatic update from web-platform-tests
The the UA stylesheet would not set 'transform-origin' correctly for
<svg> outermost roots being direct descendants of the shadow root.
Update the UA stylesheet to fix this, and also match what's currently
specced by CSS transforms [1]. Removing prefixes as appropriate.
[1] https://drafts.csswg.org/css-transforms/#transform-origin-property
Bug: 808228
Change-Id: Ic36ce331797eb7ba80a046af88d22c08fe76d6fc
Reviewed-on: https://chromium-review.googlesource.com/901263
Commit-Queue: Fredrik Söderquist <[email protected]>
Reviewed-by: Rune Lillesveen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#534371}
<!-- Reviewable:start -->
<!-- Reviewable:end -->
wpt-commits: 32ea0730fd5fe1fad0723635fee4efa6aa20f442
wpt-pr: 9389
reapplied-commits: 370e267e160568862f1fd9ec246ab5bb840f586e, fe4514c84e7ad28e46bad5da93381deb99b177f3, 7806af854343c043a2645a4034fdc7812f65daad, 9ddfd21554293dec5a4bf2e5375ae4f3c9f2ded0, 75f63c4d1ebc949647184fd60972fc7b9fd4affb, 1f3a5b496acd2288cc8cf0c32af86cb35157ea4e, 88b42bd5847abac58a62c4d6b33c1509bfce5f3d, 15c2e4c690700c6c115f8afe5e44ded10d943538, c8d461ef1437641ae7d4ea1d21e1e60cd62910b0, a6088a5f48ee299386a84d2f771902267d7355b1, 0634cd8f08ebe0905a9188fb1398c7b5f889c5dc, c8ee4a012dae506ae06bb5b2ad50942b04c1aaaa, c2c352456a4cf62dcc12f851138b04397675a445, b93a8879555d2fa7e7d4e00a275513a3a6338b35, b86e1331cb36634fd33677043b61fc0c1d8485bc, 44ddf14fd3346658c3223f13652073fafbfa48fa, a1a5840a6bb53e305ba02bcbeb215659342d0edb, 7465cb110ae5ec2e2ca73182caf5293f0efc8fd5, aad5349b3458bc3414e274b33fa86a1123901ff2, eca0907980d2769c449894a6277c60c1a306792f, 38626987c0cfd6e715cfcc6f4f1a1209191a03c5, e4a67f7ddcde6cd99348e9104bd7ed07074da44a, bb3c9990840a0fae2afc840b5952d7874785b112, 042d7adef0bdb9dc80e825c3997ace7519477c42, 99f1ea44fc7915b8b7b33bce4732fa8765fd3ac2