5.2 Overflow Ellipsis: the text-overflow property

Chapter 5 - Resizing & Overflow - 5.2 Overflow Ellipsis: the text-overflow property

Go to the relevant page of the specification.

text-overflow (ahem, font)
text-overflow - ellipsis
'text-overflow:ellipsis' renders U+2026 when text is overflowing.
text-overflow-001
text-overflow - clip - the text inline content overflows will be broken
Test checks that the inline content that overflows will be clipped. Characters may be only partially rendered when text-overflow set clip
text-overflow-002
text-overflow - ellipsis - the broken textual content instead of ellipsis
Test checks that an ellipsis (...) is shown instead of overflowing textual content
text-overflow-003
text-overflow - inherit - inherit clip value of parent's text-overflow property
Test checks that text-overflow inherits the parent' clip value when text-overflow set inherit
text-overflow-004
text-overflow - inherit - inherit ellipsis value of parent's text-overflow property
Test checks that text-overflow inherits the parent' ellipsis value when text-overflow set inherit
text-overflow-005 (ahem)
text-overflow reflow
Text overflow should disappear when the container becomes large enough. This test is targetted at bug #14952 in Servo's incremental reflow engine.