[webkit-changes] [WebKit/WebKit] cdcf05: Avoid RenderLayer::repaintBlockSelectionGaps when ...

Ryosuke Niwa noreply at github.com
Tue Nov 7 09:50:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cdcf05f3bda251b0f5fb29e93b4d1e09820a996a
      https://github.com/WebKit/WebKit/commit/cdcf05f3bda251b0f5fb29e93b4d1e09820a996a
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M Source/WebCore/rendering/RenderSelection.cpp

  Log Message:
  -----------
  Avoid RenderLayer::repaintBlockSelectionGaps when clearing caret selection
https://bugs.webkit.org/show_bug.cgi?id=264304

Reviewed by Simon Fraser.

We don't need to repaint when the selection to clear was a caret.

* Source/WebCore/rendering/RenderSelection.cpp:
(WebCore::RenderSelection::clear):

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




More information about the webkit-changes mailing list