[webkit-changes] [WebKit/WebKit] fc0149: Handle transform changes causing overflow updates
alan
noreply at github.com
Tue Oct 11 14:40:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fc014916474a9e42b1528fc70ecfdbfdce538c44
https://github.com/WebKit/WebKit/commit/fc014916474a9e42b1528fc70ecfdbfdce538c44
Author: Alan Bujtas <zalan at apple.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M LayoutTests/TestExpectations
M LayoutTests/webanimations/accelerated-web-animation-with-single-interval-and-easing-y-axis-above-1.html
M Source/WebCore/rendering/RenderElement.cpp
M Source/WebCore/rendering/RenderElement.h
M Source/WebCore/rendering/RenderFragmentedFlow.cpp
M Source/WebCore/rendering/RenderFragmentedFlow.h
Log Message:
-----------
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
More information about the webkit-changes
mailing list