Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9d772d9e541225c34f3ab2e7ffe8bcd78fecd18c
      
https://github.com/WebKit/WebKit/commit/9d772d9e541225c34f3ab2e7ffe8bcd78fecd18c
  Author: Alan Baradlay <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to