[webkit-changes] [WebKit/WebKit] 4bdeed: [IFC][Partial layout] Enable inserting forced line...

Alan Baradlay noreply at github.com
Mon Sep 11 05:46:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4bdeedc7f2d8ba89d8219c0253a3e49ed9d22eac
      https://github.com/WebKit/WebKit/commit/4bdeedc7f2d8ba89d8219c0253a3e49ed9d22eac
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-09-11 (Mon, 11 Sep 2023)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp

  Log Message:
  -----------
  [IFC][Partial layout] Enable inserting forced line breaks (<br>)
https://bugs.webkit.org/show_bug.cgi?id=261397

Reviewed by Antti Koivisto.

Covered by existing tests.

* Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp:
(WebCore::Layout::damagedLineIndex): change delete specific logic (damaged line -1) to generic insert/delete.
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::shouldInvalidateLineLayoutPathAfterChangeFor):

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




More information about the webkit-changes mailing list