[webkit-changes] [WebKit/WebKit] 9d8503: [Repaint] dirtyLinesFromChangedChild should not is...

Alan Baradlay noreply at github.com
Sat Aug 10 05:14:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9d8503d5ba1ab23b795e182d612b3ff14e5593c5
      https://github.com/WebKit/WebKit/commit/9d8503d5ba1ab23b795e182d612b3ff14e5593c5
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-08-10 (Sat, 10 Aug 2024)

  Changed paths:
    M Source/WebCore/rendering/RenderBlockFlow.cpp
    M Source/WebCore/rendering/RenderLineBoxList.cpp

  Log Message:
  -----------
  [Repaint] dirtyLinesFromChangedChild should not issue repaint for inline content
https://bugs.webkit.org/show_bug.cgi?id=277855

Reviewed by Simon Fraser.

dirtyLinesFromChangedChild is a really obscure place to issue repaint on inline content.
Let's move it to RenderBlockFlow::layoutModernLines where block level repaint happens too.

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

Canonical link: https://commits.webkit.org/282082@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