Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle transform changes causing overflow updates
https://bugs.webkit.org/show_bug.cgi?id=243812 Reviewed by Simon Fraser. Transform change requires at least SimplifiedLayout to re-compute overflow. It fixes cases where a box gets transformed out of the scrollable containing block's border box and becomes unreachable. It's similar to cases when a relatively positioned box is moved and triggers scrolling on its container. * LayoutTests/TestExpectations: * Source/WebCore/rendering/RenderElement.cpp: (WebCore::RenderElement::adjustStyleDifference const): setNeedsSimplifiedNormalFlowLayout: preserve the repaint behavior (StyleDifference::RecompositeLayer did not trigger repaint). Canonical link: https://commits.webkit.org/255406@main
- Loading branch information
1 parent
6db040e
commit fc01491
Showing
6 changed files
with
25 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
|
||
body { | ||
background-color: red; | ||
overflow: hidden; | ||
} | ||
|
||
div { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters