[webkit-changes] [WebKit/WebKit] ca9936: [IFC] `text-overflow: ellipsis` doesn't work with ...
Alan Baradlay
noreply at github.com
Thu Jun 22 21:57:05 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ca9936559899e78fe3432f0a5776a7e916ded4f3
https://github.com/WebKit/WebKit/commit/ca9936559899e78fe3432f0a5776a7e916ded4f3
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-06-22 (Thu, 22 Jun 2023)
Changed paths:
M LayoutTests/TestExpectations
A LayoutTests/fast/inline/overflow-with-text-ellipsis-expected.html
A LayoutTests/fast/inline/overflow-with-text-ellipsis.html
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
Log Message:
-----------
[IFC] `text-overflow: ellipsis` doesn't work with `overflow: clip`
https://bugs.webkit.org/show_bug.cgi?id=258265
<rdar://problem/111182654>
Reviewed by Simon Fraser.
https://drafts.csswg.org/css-overflow/#text-overflow
"
This property specifies rendering when inline content overflows its end line box edge
in the inline progression direction of its block container element ("the block") that
has overflow other than visible.
"
* LayoutTests/fast/css/empty-pseudo-class.html:
* LayoutTests/fast/inline/overflow-with-text-ellipsis-expected.html: Added.
* LayoutTests/fast/inline/overflow-with-text-ellipsis.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::lineEndingEllipsisPolicy):
imported/w3c/web-platform-tests/css/css-ui/text-overflow-021.html: this never worked (revealing content as being scrolled in).
Canonical link: https://commits.webkit.org/265445@main
More information about the webkit-changes
mailing list