[webkit-changes] [WebKit/WebKit] 3d6b8f: [IFC][Partial layout] Reuse previously computed da...

Alan Baradlay noreply at github.com
Sun Sep 10 10:35:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3d6b8f4e84031d337beb6aaac3f690d4f8dfe0fa
      https://github.com/WebKit/WebKit/commit/3d6b8f4e84031d337beb6aaac3f690d4f8dfe0fa
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-09-10 (Sun, 10 Sep 2023)

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

  Log Message:
  -----------
  [IFC][Partial layout] Reuse previously computed damage point on append
https://bugs.webkit.org/show_bug.cgi?id=261384

Reviewed by Antti Koivisto.

Subsequent append type of mutations always produce the same (last line) damage entry point.

e.g.
  container.appendChild(textNode);
  container.appendChild(brElement);
  document.body.offsetHeight;

* Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp:
(WebCore::Layout::InlineInvalidation::inlineLevelBoxInserted):

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




More information about the webkit-changes mailing list