Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: da28f6cac08d9af788debcd38629972c4b18b450
      
https://github.com/WebKit/WebKit/commit/da28f6cac08d9af788debcd38629972c4b18b450
  Author: Alan Baradlay <[email protected]>
  Date:   2025-09-09 (Tue, 09 Sep 2025)

  Changed paths:
    M 
Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp
    M 
Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.h

  Log Message:
  -----------
  Do not cache isWrappingAllowed in TextOnlySimpleLineBuilder
https://bugs.webkit.org/show_bug.cgi?id=298610

Reviewed by Antti Koivisto.

"First formatted line" state gets set as part of the line builder 
initialization steps (see initialize()) so caching any style related values in 
c'tor is premature.

* Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp:
(WebCore::Layout::TextOnlySimpleLineBuilder::TextOnlySimpleLineBuilder):
(WebCore::Layout::TextOnlySimpleLineBuilder::layoutInlineContent):
* Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.h:

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



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

Reply via email to