Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d4e315fddffa7df35fa948e5a97cc13812c6b793
      
https://github.com/WebKit/WebKit/commit/d4e315fddffa7df35fa948e5a97cc13812c6b793
  Author: Alan Baradlay <[email protected]>
  Date:   2025-10-20 (Mon, 20 Oct 2025)

  Changed paths:
    A LayoutTests/fast/text/fragmented-text-with-inline-box-crash-expected.txt
    A LayoutTests/fast/text/fragmented-text-with-inline-box-crash.html
    M 
Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
    M Source/WebCore/layout/formattingContexts/inline/RangeBasedLineBuilder.cpp
    M Source/WebCore/layout/formattingContexts/inline/RangeBasedLineBuilder.h

  Log Message:
  -----------
  [IFC] Range based line builder does not support partial layout
https://bugs.webkit.org/show_bug.cgi?id=301037
<rdar://160098965>

Reviewed by Antti Koivisto.

Disable range based line builder for partial layout (it is designed to run 
layout
on a full set of text content nested inside inline boxes).

Test: fast/text/fragmented-text-with-inline-box-crash.html

* LayoutTests/fast/text/fragmented-text-with-inline-box-crash-expected.txt: 
Added.
* LayoutTests/fast/text/fragmented-text-with-inline-box-crash.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::layout):
* Source/WebCore/layout/formattingContexts/inline/RangeBasedLineBuilder.cpp:
(WebCore::Layout::RangeBasedLineBuilder::isEligibleForRangeInlineLayout):
* Source/WebCore/layout/formattingContexts/inline/RangeBasedLineBuilder.h:

Canonical link: https://commits.webkit.org/301805@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