[webkit-changes] [WebKit/WebKit] 870a65: [IFC][Simplified minimum intrinsic width] Empty te...

Alan Baradlay noreply at github.com
Tue Oct 10 11:43:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 870a65215537cc78e2ce138c6adfe64a795812ef
      https://github.com/WebKit/WebKit/commit/870a65215537cc78e2ce138c6adfe64a795812ef
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-10-10 (Tue, 10 Oct 2023)

  Changed paths:
    A LayoutTests/fast/text/minimum-width-break-on-empty-content-crash-expected.txt
    A LayoutTests/fast/text/minimum-width-break-on-empty-content-crash.html
    M Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp

  Log Message:
  -----------
  [IFC][Simplified minimum intrinsic width] Empty text content is not breakable
https://bugs.webkit.org/show_bug.cgi?id=262959

Reviewed by Antti Koivisto.

Non-simplified codepath handles empty content as non-breakable as well.

* LayoutTests/fast/text/minimum-width-break-on-empty-content-crash-expected.txt: Added.
* LayoutTests/fast/text/minimum-width-break-on-empty-content-crash.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp:
(WebCore::Layout::InlineContentBreaker::simplifiedMinimumInstrinsicWidthBreak const):

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




More information about the webkit-changes mailing list