[webkit-changes] [WebKit/WebKit] fee105: REGRESSION (253628 at main): Missing images on bbc.co...
alan
noreply at github.com
Mon Sep 5 22:11:18 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fee10597718fb1659a855026e5a8728ab9ec608e
https://github.com/WebKit/WebKit/commit/fee10597718fb1659a855026e5a8728ab9ec608e
Author: Alan Bujtas <zalan at apple.com>
Date: 2022-09-05 (Mon, 05 Sep 2022)
Changed paths:
A LayoutTests/fast/block/line-layout/out-of-flow-static-with-precent-height-expected.html
A LayoutTests/fast/block/line-layout/out-of-flow-static-with-precent-height.html
M Source/WebCore/rendering/RenderBlockFlow.cpp
Log Message:
-----------
REGRESSION (253628 at main): Missing images on bbc.com pages
https://bugs.webkit.org/show_bug.cgi?id=244787
<rdar://problem/99553388>
Reviewed by Simon Fraser.
Out-of-flow boxes are supposed to be laid out by their containing blocks as part of the "positioned block layout phase". Running layout on them too early at layoutModernLines not only produces incorrect size but also makes their needsLayout flag cleared (which means we don't find them "dirty" at the "positioned block layout" phase).
* LayoutTests/fast/block/line-layout/out-of-flow-static-with-precent-height-expected.html: Added.
* LayoutTests/fast/block/line-layout/out-of-flow-static-with-precent-height.html: Added.
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::layoutModernLines):
Canonical link: https://commits.webkit.org/254176@main
More information about the webkit-changes
mailing list