-
Notifications
You must be signed in to change notification settings - Fork 717
[css-transforms-1] Should will-change: transform be treated as transform for background-attachment:fixed? #6951
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
Comments
…fixed This is to prevent jump of background when an element with will-change: transform changes transform from initial to non-identity. This is not in the spec yet, so the test case is tentative with a css-transforms-1 bug is filed at w3c/csswg-drafts#6951. Firefox already has this behavior. Bug: 1286593 Change-Id: I4247824b5af28613644bcd334832ff22b9483384
…fixed This is to prevent jump of background when an element with will-change: transform changes transform from initial to non-identity. This is not in the spec yet, so the test case is tentative with a css-transforms-1 bug is filed at w3c/csswg-drafts#6951. Firefox already has this behavior. Bug: 1286593 Change-Id: I4247824b5af28613644bcd334832ff22b9483384 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3385337 Reviewed-by: David Baron <dbaron@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#959058}
…fixed This is to prevent jump of background when an element with will-change: transform changes transform from initial to non-identity. This is not in the spec yet, so the test case is tentative with a css-transforms-1 bug is filed at w3c/csswg-drafts#6951. Firefox already has this behavior. Bug: 1286593 Change-Id: I4247824b5af28613644bcd334832ff22b9483384 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3385337 Reviewed-by: David Baron <dbaron@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#959058}
…fixed This is to prevent jump of background when an element with will-change: transform changes transform from initial to non-identity. This is not in the spec yet, so the test case is tentative with a css-transforms-1 bug is filed at w3c/csswg-drafts#6951. Firefox already has this behavior. Bug: 1286593 Change-Id: I4247824b5af28613644bcd334832ff22b9483384 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3385337 Reviewed-by: David Baron <dbaron@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#959058}
I believe that this paragraph from [css-will-change] applies here:
(given that [css-transforms] explicitly states that "Transforms affect the rendering of backgrounds on elements with a value of |
I think SelenIT's explanation makes sense. Closing this issue. |
…rm for background-attachment:fixed, a=testonly Automatic update from web-platform-tests Include will-change:transform as transform for background-attachment:fixed This is to prevent jump of background when an element with will-change: transform changes transform from initial to non-identity. This is not in the spec yet, so the test case is tentative with a css-transforms-1 bug is filed at w3c/csswg-drafts#6951. Firefox already has this behavior. Bug: 1286593 Change-Id: I4247824b5af28613644bcd334832ff22b9483384 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3385337 Reviewed-by: David Baron <dbaron@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#959058} -- wpt-commits: a04b6be3ebaeea3fd79b82e9447ba1e0b864babe wpt-pr: 32360
…rm for background-attachment:fixed, a=testonly Automatic update from web-platform-tests Include will-change:transform as transform for background-attachment:fixed This is to prevent jump of background when an element with will-change: transform changes transform from initial to non-identity. This is not in the spec yet, so the test case is tentative with a css-transforms-1 bug is filed at w3c/csswg-drafts#6951. Firefox already has this behavior. Bug: 1286593 Change-Id: I4247824b5af28613644bcd334832ff22b9483384 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3385337 Reviewed-by: David Baron <dbaron@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#959058} -- wpt-commits: a04b6be3ebaeea3fd79b82e9447ba1e0b864babe wpt-pr: 32360
The current spec says:
It doesn't mention will-change:transform. However, if we don't treat will-change:transform as transform, future change of transform from initial to non-identity will cause jump of the background.
Current browser behaviors about treating will-change:transform as transform for background-attachment-fixed:
The text was updated successfully, but these errors were encountered: