Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1f60b63846b360424dc2b35150eb4393447eaa70
      
https://github.com/WebKit/WebKit/commit/1f60b63846b360424dc2b35150eb4393447eaa70
  Author: Alan Baradlay <za...@apple.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h
    M Source/WebCore/rendering/RenderText.cpp

  Log Message:
  -----------
  [IFC][Partial layout] RenderText::setTextWithOffset sometimes is just a 
simple append
https://bugs.webkit.org/show_bug.cgi?id=293757

Reviewed by Antti Koivisto.

RenderText can hold up to 64K text and content loading may incrementally fill up
that space where the incoming offset points to the end of the current content.
IFC's partial layout can already handle simple append cases, let's treat this 
as such.

* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::updateTextContent):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h:
* Source/WebCore/rendering/RenderText.cpp:
(WebCore::invalidateLineLayoutPathOnContentChangeIfNeeded):
(WebCore::RenderText::setText):
(WebCore::RenderText::setTextWithOffset):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to