[webkit-changes] [WebKit/WebKit] 9d772d: [IFC] Cached maximum inline content should be able...

Alan Baradlay noreply at github.com
Sat Nov 18 09:22:55 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9d772d9e541225c34f3ab2e7ffe8bcd78fecd18c
      https://github.com/WebKit/WebKit/commit/9d772d9e541225c34f3ab2e7ffe8bcd78fecd18c
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-11-18 (Sat, 18 Nov 2023)

  Changed paths:
    A LayoutTests/fast/text/line-break-after-whitespace-with-min-max-assert-expected.txt
    A LayoutTests/fast/text/line-break-after-whitespace-with-min-max-assert.html
    M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp

  Log Message:
  -----------
  [IFC] Cached maximum inline content should be able to handle trailing line break
https://bugs.webkit.org/show_bug.cgi?id=265074

Reviewed by Antti Koivisto.

Restore trimmed trailing whitespace when followed by hard line break (<br>).

* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::createDisplayContentForLineFromCachedContent):

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




More information about the webkit-changes mailing list