[webkit-changes] [WebKit/WebKit] 5f740d: [IFC][Partial layout] Issue full repaint even for ...

Alan Baradlay noreply at github.com
Sun Mar 5 14:53:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5f740dd938f6c31db68977b08ffe94d1a986324e
      https://github.com/WebKit/WebKit/commit/5f740dd938f6c31db68977b08ffe94d1a986324e
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-03-05 (Sun, 05 Mar 2023)

  Changed paths:
    M LayoutTests/platform/ios-wk2/fast/repaint/placeholder-after-caps-lock-hidden-expected.txt
    M Source/WebCore/rendering/RenderBlockFlow.cpp

  Log Message:
  -----------
  [IFC][Partial layout] Issue full repaint even for partial layout when relayoutChildren flag is set
https://bugs.webkit.org/show_bug.cgi?id=253410

Reviewed by Antti Koivisto.

This is in preparation for turning on partial layout on text change.

With partial layout disabled, we always issue full repaint when invalidating the line layout path (see RenderBlockFlow::invalidateLineLayoutPath). It covers cases explained in RenderBlockFlow::layoutModernLines.

* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::layoutModernLines):

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




More information about the webkit-changes mailing list