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:
Tobias Christiansen
2024-07-29 18:14:33 +02:00
committed by Sam Atkins
parent 794069b3cf
commit da7f0897d1
Notes: github-actions[bot] 2024-08-03 09:05:37 +00:00
2 changed files with 39 additions and 1 deletions

View File

@@ -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