[webkit-changes] [WebKit/WebKit] c13c03: Get rid of unnecessary layouts on body elements wi...
Ahmad Saleem
noreply at github.com
Fri Mar 3 04:23:46 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c13c03bc9729c266b3458fceb995c064764f2b90
https://github.com/WebKit/WebKit/commit/c13c03bc9729c266b3458fceb995c064764f2b90
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2023-03-03 (Fri, 03 Mar 2023)
Changed paths:
M Source/WebCore/rendering/RenderBlockFlow.cpp
Log Message:
-----------
Get rid of unnecessary layouts on body elements with quirky children
https://bugs.webkit.org/show_bug.cgi?id=253203
Reviewed by Alan Baradlay.
Merge - https://src.chromium.org/viewvc/blink?revision=169790&view=revision
RenderBlockFlow::marginBeforeEstimateForChild() was checking the wrong
margin when detecting quirky children. The performance test added by
this patch times out without the change in this patch - obviously a
pathological case.
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(RenderBlockFlow::marginBeforeEstimateForChild): Change 'hasMarginAfterQuirk' to 'hasMarginBeforeQuirk'
Canonical link: https://commits.webkit.org/261134@main
More information about the webkit-changes
mailing list