Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: 70f337cc72a6c1b90f23a1cb5e5542cb45747b49
      
https://github.com/WebKit/WebKit/commit/70f337cc72a6c1b90f23a1cb5e5542cb45747b49
  Author: Chris Dumez <[email protected]>
  Date:   2026-03-23 (Mon, 23 Mar 2026)

  Changed paths:
    M Source/WTF/wtf/text/ASCIILiteral.h
    M Source/WTF/wtf/text/AtomString.h
    M Tools/TestWebKitAPI/Tests/WTF/AtomString.cpp

  Log Message:
  -----------
  Cherry-pick 309661@main (30479f7ed01f). 
https://bugs.webkit.org/show_bug.cgi?id=310351

    Constructing a String from a null ASCIILiteral should result in a null 
String
    https://bugs.webkit.org/show_bug.cgi?id=310351

    Reviewed by Darin Adler.

    Constructing a String from a null ASCIILiteral should result in a null 
String,
    not an empty String.

    Test: Tools/TestWebKitAPI/Tests/WTF/AtomString.cpp

    * Source/WTF/wtf/text/ASCIILiteral.h:
    * Source/WTF/wtf/text/AtomString.h:
    (WTF::AtomString::AtomString):
    * Tools/TestWebKitAPI/Tests/WTF/AtomString.cpp:
    (TestWebKitAPI::TEST(WTF, AtomStringCreationFromNullASCIILiteral)):

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

Canonical link: https://commits.webkit.org/305877.252@webkitglib/2.52


  Commit: 1fe9ec73ae1afd93455a50a4125d7026d666c6ee
      
https://github.com/WebKit/WebKit/commit/1fe9ec73ae1afd93455a50a4125d7026d666c6ee
  Author: Alan Baradlay <[email protected]>
  Date:   2026-03-23 (Mon, 23 Mar 2026)

  Changed paths:
    A 
LayoutTests/fast/text/min-content-width-assert-with-inline-box-expected.html
    A LayoutTests/fast/text/min-content-width-assert-with-inline-box.html
    M Source/WebCore/layout/formattingContexts/inline/IntrinsicWidthHandler.cpp

  Log Message:
  -----------
  Cherry-pick 308453@main (66f1fe7208f2). 
https://bugs.webkit.org/show_bug.cgi?id=308864

    [IFC] youtube.com ASSERT(inlineTextBox->style().whiteSpaceCollapse() != 
WhiteSpaceCollapse::Preserve)
    https://bugs.webkit.org/show_bug.cgi?id=308864

    Reviewed by Antti Koivisto.

    Do not use fast (no line builder is required) codepath when the enclosing 
inline box is not eligible.

    e.g.
    <div>                                <- block container style is eligible
      <span style="white-space: pre">    <- inline box style is not
       some text

    Test: fast/text/min-content-width-assert-with-inline-box.html

    * 
LayoutTests/fast/text/min-content-width-assert-with-inline-box-expected.html: 
Added.
    * LayoutTests/fast/text/min-content-width-assert-with-inline-box.html: 
Added.
    * Source/WebCore/layout/formattingContexts/inline/IntrinsicWidthHandler.cpp:
    (WebCore::Layout::isContentEligibleForNonLineBuilderMinimumWidth):
    (WebCore::Layout::IntrinsicWidthHandler::minimumContentSize):
      It's not sufficient to check the block container whether the style is 
sufficient
      when it is enclosed by an inline box, we have to check the style that 
applies
      directly to the text content (innermost "container")

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

Canonical link: https://commits.webkit.org/305877.253@webkitglib/2.52


Compare: https://github.com/WebKit/WebKit/compare/0728bceb902b...1fe9ec73ae1a

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

Reply via email to