Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 23d5b940828fd5931a64c0bdbb471f499f13cb82
      
https://github.com/WebKit/WebKit/commit/23d5b940828fd5931a64c0bdbb471f499f13cb82
  Author: Alan Baradlay <[email protected]>
  Date:   2022-12-21 (Wed, 21 Dec 2022)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineLine.h
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp

  Log Message:
  -----------
  [IFC] Hanging trailing content should not be treated trimmable
https://bugs.webkit.org/show_bug.cgi?id=249711

Reviewed by Antti Koivisto.

If the trailing content on the line is hanging whitespace (pre-wrap), it should 
be treated as preserved (again, pre-wrap) and not trimmable (this likely has no 
visual impact though).

* Source/WebCore/layout/formattingContexts/inline/InlineLine.h:
(WebCore::Layout::Line::hangingTrailingWhitespaceWidth const): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::tryPlacingFloatBox):
(WebCore::Layout::LineBuilder::handleInlineContent):
(WebCore::Layout::trimmableTrailingContentWidth): Deleted.

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


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

Reply via email to