Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 42319cdd11739fabab22f4a2ee5353989addd487
      
https://github.com/WebKit/WebKit/commit/42319cdd11739fabab22f4a2ee5353989addd487
  Author: Antti Koivisto <[email protected]>
  Date:   2026-01-15 (Thu, 15 Jan 2026)

  Changed paths:
    A LayoutTests/fast/table/table-with-block-in-inline-fast-path-expected.html
    A LayoutTests/fast/table/table-with-block-in-inline-fast-path.html
    M Source/WebCore/rendering/RenderBlockFlow.cpp

  Log Message:
  -----------
  REGRESSION(304526@main): perf test page flickers when loading or relaunching
https://bugs.webkit.org/show_bug.cgi?id=305577
rdar://168187880

Reviewed by Alan Baradlay.

We end up with bad table layout because layoutSimpleBlockContentInInline 
optimization.

Test: fast/table/table-with-block-in-inline-fast-path.html
* LayoutTests/fast/table/table-with-block-in-inline-fast-path-expected.html: 
Added.
* LayoutTests/fast/table/table-with-block-in-inline-fast-path.html: Added.
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::layoutSimpleBlockContentInInline):

Tables rely on inline layout always recomputing the block height.
Disable the fast path for them.

Canonical link: https://commits.webkit.org/305655@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to