-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[motion-1] Fix offset-path parsing test #340
Comments
Thanks. The parsing test and computed value test are out-of-date of course. I'm also trying to add more tests for shapes/coord-box in parsing-valid and computed tests. |
The margin-box one looks OK. I'm not sure about the omitting the position part. @emilio @Loirooriol, should we always serialize the position here? |
About the serialization, the current spec requires us to serialize |
https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-ellipse
https://drafts.csswg.org/css-backgrounds-3/#valdef-background-position-center
https://drafts.csswg.org/cssom/#serializing-css-values
So it seems to me that Same for the |
Agreed with @Loirooriol, that test fix is wrong. |
BTW, the spec of
So now I feel weird if we serialize it as |
cc @tabatkins |
I filed a spec for this: w3c/fxtf-drafts#514. |
Does the current spec text require some specific behavior, or is it just unclear about the behavior? I'm wondering if we should wait until w3c/fxtf-drafts#514 is revolved before making any test changes, or if it can be done in two stages. |
Maybe just accept both cases for now. e.g.
Or something like this. |
OK, the comment in w3c/csswg-drafts#8695 (comment) makes sense to me. We should omit |
@BorisChiou @nt1m updated the test, please, have a look |
Mind updating this as well? replace For this proposal: "We definitely need to omit the |
done |
The test looks good to me now. |
1) As per https://drafts.csswg.org/css-box-4/#typedef-coord-box <coord-box> can't be defined with margin-box. 2) Comes from w3c/csswg-drafts#8695 (comment) Resolved here: web-platform-tests/interop#340 Change-Id: I6fe865d5248c7004257cd17669353d810f6e3d09
1) As per https://drafts.csswg.org/css-box-4/#typedef-coord-box <coord-box> can't be defined with margin-box. 2) "at <position" changes come from w3c/csswg-drafts#8695 (comment) Resolved here: web-platform-tests/interop#340 Change-Id: I6fe865d5248c7004257cd17669353d810f6e3d09
1) As per https://drafts.csswg.org/css-box-4/#typedef-coord-box <coord-box> can't be defined with margin-box. 2) "at <position" changes come from w3c/csswg-drafts#8695 (comment) Resolved here: web-platform-tests/interop#340 Change-Id: I6fe865d5248c7004257cd17669353d810f6e3d09
1) As per https://drafts.csswg.org/css-box-4/#typedef-coord-box <coord-box> can't be defined with margin-box. 2) "at <position" changes come from w3c/csswg-drafts#8695 (comment) Resolved here: web-platform-tests/interop#340 Change-Id: I6fe865d5248c7004257cd17669353d810f6e3d09 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4551246 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org> Cr-Commit-Position: refs/heads/main@{#1150434}
1) As per https://drafts.csswg.org/css-box-4/#typedef-coord-box <coord-box> can't be defined with margin-box. 2) "at <position" changes come from w3c/csswg-drafts#8695 (comment) Resolved here: web-platform-tests/interop#340 Change-Id: I6fe865d5248c7004257cd17669353d810f6e3d09 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4551246 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org> Cr-Commit-Position: refs/heads/main@{#1150434}
1) As per https://drafts.csswg.org/css-box-4/#typedef-coord-box <coord-box> can't be defined with margin-box. 2) "at <position" changes come from w3c/csswg-drafts#8695 (comment) Resolved here: web-platform-tests/interop#340 Change-Id: I6fe865d5248c7004257cd17669353d810f6e3d09 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4551246 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org> Cr-Commit-Position: refs/heads/main@{#1150434}
… a=testonly Automatic update from web-platform-tests Change WPT test for offset-path parsing 1) As per https://drafts.csswg.org/css-box-4/#typedef-coord-box <coord-box> can't be defined with margin-box. 2) "at <position" changes come from w3c/csswg-drafts#8695 (comment) Resolved here: web-platform-tests/interop#340 Change-Id: I6fe865d5248c7004257cd17669353d810f6e3d09 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4551246 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org> Cr-Commit-Position: refs/heads/main@{#1150434} -- wpt-commits: 77e63377e0476fe25da513b11b78f1525c5c91ee wpt-pr: 40120
… a=testonly Automatic update from web-platform-tests Change WPT test for offset-path parsing 1) As per https://drafts.csswg.org/css-box-4/#typedef-coord-box <coord-box> can't be defined with margin-box. 2) "at <position" changes come from w3c/csswg-drafts#8695 (comment) Resolved here: web-platform-tests/interop#340 Change-Id: I6fe865d5248c7004257cd17669353d810f6e3d09 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4551246 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org> Cr-Commit-Position: refs/heads/main@{#1150434} -- wpt-commits: 77e63377e0476fe25da513b11b78f1525c5c91ee wpt-pr: 40120
… a=testonly Automatic update from web-platform-tests Change WPT test for offset-path parsing 1) As per https://drafts.csswg.org/css-box-4/#typedef-coord-box <coord-box> can't be defined with margin-box. 2) "at <position" changes come from w3c/csswg-drafts#8695 (comment) Resolved here: web-platform-tests/interop#340 Change-Id: I6fe865d5248c7004257cd17669353d810f6e3d09 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4551246 Reviewed-by: Anders Hartvoll Ruud <andruudchromium.org> Commit-Queue: Daniil Sakhapov <sakhapovchromium.org> Cr-Commit-Position: refs/heads/main{#1150434} -- wpt-commits: 77e63377e0476fe25da513b11b78f1525c5c91ee wpt-pr: 40120 UltraBlame original commit: 6af80ffc63102ca16a772daca958c3ad783d4eab
… a=testonly Automatic update from web-platform-tests Change WPT test for offset-path parsing 1) As per https://drafts.csswg.org/css-box-4/#typedef-coord-box <coord-box> can't be defined with margin-box. 2) "at <position" changes come from w3c/csswg-drafts#8695 (comment) Resolved here: web-platform-tests/interop#340 Change-Id: I6fe865d5248c7004257cd17669353d810f6e3d09 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4551246 Reviewed-by: Anders Hartvoll Ruud <andruudchromium.org> Commit-Queue: Daniil Sakhapov <sakhapovchromium.org> Cr-Commit-Position: refs/heads/main{#1150434} -- wpt-commits: 77e63377e0476fe25da513b11b78f1525c5c91ee wpt-pr: 40120 UltraBlame original commit: 6af80ffc63102ca16a772daca958c3ad783d4eab
… a=testonly Automatic update from web-platform-tests Change WPT test for offset-path parsing 1) As per https://drafts.csswg.org/css-box-4/#typedef-coord-box <coord-box> can't be defined with margin-box. 2) "at <position" changes come from w3c/csswg-drafts#8695 (comment) Resolved here: web-platform-tests/interop#340 Change-Id: I6fe865d5248c7004257cd17669353d810f6e3d09 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4551246 Reviewed-by: Anders Hartvoll Ruud <andruudchromium.org> Commit-Queue: Daniil Sakhapov <sakhapovchromium.org> Cr-Commit-Position: refs/heads/main{#1150434} -- wpt-commits: 77e63377e0476fe25da513b11b78f1525c5c91ee wpt-pr: 40120 UltraBlame original commit: 6af80ffc63102ca16a772daca958c3ad783d4eab
Test List
https://wpt.fyi/results/css/motion/parsing/offset-path-parsing-valid.html
Rationale
Update tests to be up-to-date with the spec
web-platform-tests/wpt#40120
The text was updated successfully, but these errors were encountered: