Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f7185dc48501b9811198bc82fbf1a7858c144a09
      
https://github.com/WebKit/WebKit/commit/f7185dc48501b9811198bc82fbf1a7858c144a09
  Author: Alan Baradlay <[email protected]>
  Date:   2024-03-14 (Thu, 14 Mar 2024)

  Changed paths:
    A LayoutTests/fast/text/overflow-ellipsis-on-empty-content-expected.txt
    A LayoutTests/fast/text/overflow-ellipsis-on-empty-content.html
    M 
Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp

  Log Message:
  -----------
  ASSERTION FAILED: lineEndingEllipsisPolicy != 
LineEndingEllipsisPolicy::WhenContentOverflowsInInlineDirection || 
truncateRight.has_value() || right(boxes.last()) == visualRightForContentEnd 
/app/webkit/Source/WebCore/layout/formattingContexts/inline/displ
https://bugs.webkit.org/show_bug.cgi?id=262262
<rdar://problem/116503519>

Reviewed by Antti Koivisto.

Zero width content should never need ellipsis.

* LayoutTests/fast/text/overflow-ellipsis-on-empty-content-expected.txt: Added.
* LayoutTests/fast/text/overflow-ellipsis-on-empty-content.html: Added.
* 
Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp:
(WebCore::Layout::InlineDisplayLineBuilder::trailingEllipsisVisualRectAfterTruncation):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to