Skip to content
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

[composite-bgcolor-animation] Ensure repaint #28387

Closed
wants to merge 1 commit into from

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Apr 6, 2021

Currently we rely on HasCurrentBackgroundColorAnimation() !=
other.HasCurrentBackgroundColorAnimation() in the StyleDifference
to trigger a repaint for an element with background color animation.
But this isn't enough, specifically we could have a composited
bgcolor animation attached to an element at Nth frame, but have
a non-compositable animation attached to this element at (N+1)th
frame.

Some notes about this CL is here:
https://docs.google.com/document/d/1MUjde9fUXsfIJ7l-7Wwl922Xj6HAL9FSWNyzL1JITz4/edit

Bug: 1184832
Change-Id: I8b6d0ae366c03e1cd64f75685b2127c664b75939
Reviewed-on: https://chromium-review.googlesource.com/2795992
WPT-Export-Revision: df0942d9635f1c91955ae079778665b225591ae5

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-2795992 branch 4 times, most recently from 8e75b73 to 3e3ef90 Compare April 21, 2021 20:21
Currently we rely on HasCurrentBackgroundColorAnimation() !=
other.HasCurrentBackgroundColorAnimation() in the StyleDifference
to trigger a repaint for an element with background color animation.
But this isn't enough, specifically we could have a composited
bgcolor animation attached to an element at Nth frame, but have
a non-compositable animation attached to this element at (N+1)th
frame.

Some notes about this CL is here:
https://docs.google.com/document/d/1MUjde9fUXsfIJ7l-7Wwl922Xj6HAL9FSWNyzL1JITz4/edit

Bug: 1184832
Change-Id: I8b6d0ae366c03e1cd64f75685b2127c664b75939
@chromium-wpt-export-bot
Copy link
Collaborator Author

Close this PR because the Chromium CL does not have exportable changes.

@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-2795992 branch May 5, 2023 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants