[webkit-changes] [WebKit/WebKit] 5bf0ac: Disable partial layout when text-autospace is present

Alan Baradlay noreply at github.com
Wed Jan 15 08:25:50 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5bf0ac9174de0ddb51e222dd0680b20bc1048b4b
      https://github.com/WebKit/WebKit/commit/5bf0ac9174de0ddb51e222dd0680b20bc1048b4b
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2025-01-15 (Wed, 15 Jan 2025)

  Changed paths:
    A LayoutTests/fast/dynamic/text-autospace-with-partial-layout-crash-expected.txt
    A LayoutTests/fast/dynamic/text-autospace-with-partial-layout-crash.html
    M Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp

  Log Message:
  -----------
  Disable partial layout when text-autospace is present
https://bugs.webkit.org/show_bug.cgi?id=285953
<rdar://142779702>

Reviewed by Antti Koivisto.

The text-autospace feature does not support partial content. Let's disabled it for now.

* LayoutTests/fast/dynamic/text-autospace-with-partial-layout-crash-expected.txt: Added.
* LayoutTests/fast/dynamic/text-autospace-with-partial-layout-crash.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp:
(WebCore::Layout::InlineItemsBuilder::computeInlineBoxBoundaryTextSpacings):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::shouldInvalidateLineLayoutPathAfterChangeFor):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list