[webkit-changes] [WebKit/WebKit] 2d607a: [IFC] Disable partial layout when replaced box wit...

Alan Baradlay noreply at github.com
Wed Aug 21 05:14:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2d607ad596ae22522f0c9054007f870f51cf6a12
      https://github.com/WebKit/WebKit/commit/2d607ad596ae22522f0c9054007f870f51cf6a12
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-08-21 (Wed, 21 Aug 2024)

  Changed paths:
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp

  Log Message:
  -----------
  [IFC] Disable partial layout when replaced box with relative dimension(s) is present
https://bugs.webkit.org/show_bug.cgi?id=278407

Reviewed by Antti Koivisto.

Unlike other inline content, boxes with relative dimensions (e.g. width: 50%) are marked dirty right
before layout (see RenderBlockFlow::layoutModernLines and the commit message in 240772 at main for more info).
Unfortunately such boxes skip the normal IFC invalidation flow which may cause incorrect rendering.

Let's disable partial rendering for now when seeing boxes with relative dimension(s).

* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::shouldInvalidateLineLayoutPathAfterChangeFor):

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



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


More information about the webkit-changes mailing list