mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Implement "text-overflow" property
The "text-overflow" property affects text that may get clipped if it is larger than its container and does not do any line breaks. The ellipsis character gets added to the end and the rest of the text gets trunctated if the property is set to "ellipsis". This patch implements this behavior in the InlineFormattingContext. :^) The "text-overflow" property is also added to the getComputedStyle-print-all test.
This commit is contained in:
committed by
Sam Atkins
parent
794069b3cf
commit
da7f0897d1
Notes:
github-actions[bot]
2024-08-03 09:05:37 +00:00
Author: https://github.com/TobyAsE Commit: https://github.com/LadybirdBrowser/ladybird/commit/da7f0897d1e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/813 Reviewed-by: https://github.com/AtkinsSJ ✅ Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/kalenikaliaksandr ✅
@@ -200,6 +200,7 @@ text-decoration-style: solid
|
||||
text-decoration-thickness: auto
|
||||
text-indent: 0px
|
||||
text-justify: auto
|
||||
text-overflow: clip
|
||||
text-shadow: none
|
||||
text-transform: none
|
||||
top: auto
|
||||
|
||||
Reference in New Issue
Block a user