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
This ensures that the viewport anchor layer will be updated when updating compositing layers upon style change #5658
This ensures that the viewport anchor layer will be updated when updating compositing layers upon style change #5658
Conversation
EWS run on previous version of this PR (hash 8a3be4d) |
<script> | ||
onload = () => { | ||
document.body.offsetTop; | ||
document.body.style.position = 'sticky'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
@@ -0,0 +1,16 @@ | |||
<!DOCTYPE html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to have these tests run as "text" tests. Add:
if (window.testRunner)
testRunner.dumpAsText();
and you also need to include the resulting .txt
files in your PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For future reference, unless a test case requires invalid HTML to reproduce a bug, it's usually best to structure documents like this:
<!DOCTYPE html>
<html>
<head>
<script>[as needed]</script>
<style>[as needed]</style>
</head>
<body>
[content goes here, but can also include script tags]
</body>
</html>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you ! I will keep this in mind.
EWS run on current version of this PR (hash d964e19) |
β¦ting compositing layers upon style change https://bugs.webkit.org/show_bug.cgi?id=246890 rdar://99568474 Reviewed by Simon Fraser. * LayoutTests/compositing/scrolling/fixed-style-with-rotation.html: Added. * LayoutTests/compositing/scrolling/sticky-style-with-rotation.html: Added. * Source/WebCore/rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::layerStyleChanged): Canonical link: https://commits.webkit.org/256025@main
Committed 256025@main (67c0ccb): https://commits.webkit.org/256025@main Reviewed commits have been landed. Closing PR #5658 and removing active labels. |
67c0ccb
d964e19
π§ͺ api-mac