CSS Text Module Level 3 CR Test Suite

Edge Effects (108 tests)

Test Refs Flags Info
+ 8 Edge Effects
+ 8.1 First Line Indentation: the text-indent property
c547-indent-000 = Ahem text-indent
c547-indent-001 = text-indent
percentage-value-intrinsic-size
  • Percentages should be ignored when calculating min/max intrinsic sizes.
text-indent-004 = Ahem Text-indent using pixels with a negative zero value, -0px
  • The 'text-indent' property sets a negative zero length value in pixels.
text-indent-005 = Ahem Text-indent using pixels with a zero value, 0px
  • Ensure that text-indent 0px adds 0px in front of the text.
text-indent-006 = Ahem Text-indent using pixels with a positive zero value, +0px
  • Ensure that text-indent +0px adds 0px in front of the text.
text-indent-007 = Ahem Text-indent using pixels with a nominal value, 96px
  • Ensure that text-indent 96px adds 96px in front of the text.
text-indent-008 = Ahem Text-indent using pixels with a nominal value with a plus sign, +96px
  • Ensure that text-indent +96px adds 96px in front of the text.
text-indent-010 = CSS text-indent: Negative
text-indent-011 = CSS text-indent: Percentages
text-indent-012 = Ahem CSS text-indent: Hyatt's Evil Test Which Mixes Lots Of Stuff
text-indent-013 = CSS text-indent: Floats
text-indent-014 = text-indent on anonymous blocks
  • text-indent affects only the first line of a block container if that line is also the first formatted line of an element.
text-indent-016 = Ahem Text-indent using points with a negative zero value, -0pt
  • Ensure that text-indent -0 pt adds 0pt in front of the text.
text-indent-017 = Ahem Text-indent using points with a zero value, 0pt
  • Ensure that text-indent 0pt adds 0pt in front of the text.
text-indent-018 = Ahem Text-indent using points with a positive zero value, +0pt
  • Ensure that text-indent +0pt adds 0pt in front of the text.
text-indent-019 = Ahem Text-indent using points with a nominal value, 72pt
  • Ensure that text-indent 72pt adds 72pt in front of the text.
text-indent-020 = Ahem Text-indent using points with a nominal value with a plus sign, +72pt
  • Ensure that text-indent +72pt adds 72pt in front of the text.
text-indent-028 = Ahem Text-indent using picas with a negative zero value, -0pc
  • Ensure that text-indent -0 pc adds 0pc in front of the text.
text-indent-029 = Ahem Text-indent using picas with a zero value, 0pc
  • Ensure that text-indent 0pc adds 0pc in front of the text.
text-indent-030 = Ahem Text-indent using picas with a positive zero value, +0pc
  • Ensure that text-indent +0pc adds 0pc in front of the text.
text-indent-031 = Ahem Text-indent using picas with a nominal value, 6pc
  • Ensure that text-indent 6pc adds 6pc in front of the text.
text-indent-032 = Ahem Text-indent using picas with a nominal value with a plus sign, +6pc
  • Ensure that text-indent +6pc adds 6pc in front of the text.
text-indent-040 = Ahem Text-indent using centimeters with a negative zero value, -0cm
  • Ensure that text-indent -0 cm adds 0cm in front of the text.
text-indent-041 = Ahem Text-indent using centimeters with a zero value, 0cm
  • Ensure that text-indent 0cm adds 0cm in front of the text.
text-indent-042 = Ahem Text-indent using centimeters with a positive zero value, +0cm
  • Ensure that text-indent +0cm adds 0cm in front of the text.
text-indent-043 = Ahem Text-indent using centimeters with a nominal value, 2.54cm
  • Ensure that text-indent 2.54cm adds 2.54cm in front of the text.
text-indent-044 = Ahem Text-indent using centimeters with a nominal value with a plus sign, +2.54cm
  • Ensure that text-indent +2.54cm adds 2.54cm in front of the text.
text-indent-052 = Ahem Text-indent using millimeters with a negative zero value, -0mm
  • Ensure that text-indent -0 mm adds 0mm in front of the text.
text-indent-053 = Ahem Text-indent using millimeters with a zero value, 0mm
  • Ensure that text-indent 0mm adds 0mm in front of the text.
text-indent-054 = Ahem Text-indent using millimeters with a positive zero value, +0mm
  • Ensure that text-indent +0mm adds 0mm in front of the text.
text-indent-055 = Ahem Text-indent using millimeters with a nominal value, 25.4mm
  • Ensure that text-indent 25.4mm adds 25.4mm in front of the text.
text-indent-056 = Ahem Text-indent using millimeters with a nominal value with a plus sign, +25.4mm
  • Ensure that text-indent +25.4mm adds 25.4mm in front of the text.
text-indent-064 = Ahem Text-indent using inches with a negative zero value, -0in
  • Ensure that text-indent -0 in adds 0in in front of the text.
text-indent-065 = Ahem Text-indent using inches with a zero value, 0in
  • Ensure that text-indent 0in adds 0in in front of the text.
text-indent-066 = Ahem Text-indent using inches with a positive zero value, +0in
  • Ensure that text-indent +0in adds 0in in front of the text.
text-indent-067 = Ahem Text-indent using inches with a nominal value, 1in
  • Ensure that text-indent 1in adds 1in in front of the text.
text-indent-068 = Ahem Text-indent using inches with a nominal value with a plus sign, +1in
  • Ensure that text-indent +1in adds 1in in front of the text.
text-indent-076 = Ahem Text-indent using 'em' units with a negative zero value, -0em
  • Ensure that text-indent -0 em adds 0em in front of the text.
text-indent-077 = Ahem Text-indent using 'em' units with a zero value, 0em
  • Ensure that text-indent 0em adds 0em in front of the text.
text-indent-078 = Ahem Text-indent using 'em' units with a positive zero value, +0em
  • Ensure that text-indent +0em adds 0em in front of the text.
text-indent-079 = Ahem Text-indent using 'em' units with a nominal value, 6em
  • Ensure that text-indent 6em adds 6em in front of the text.
text-indent-080 = Ahem Text-indent using 'em' units with a nominal value with a plus sign, +6em
  • Ensure that text-indent +6em adds 6em in front of the text.
text-indent-088 = Ahem Text-indent using 'ex' units with a negative zero value, -0ex
  • The 'text-indent' property sets a negative zero length value in 'ex' units.
text-indent-089 = Ahem Text-indent using 'ex' units with a zero value, 0ex
  • Ensure that text-indent 0ex adds 0ex in front of the text.
text-indent-090 = Ahem Text-indent using 'ex' units with a positive zero value, +0ex
  • Ensure that text-indent +0ex adds 0ex in front of the text.
text-indent-091 = Ahem Text-indent set to a nominal value for 'ex' units
  • Ensure that text-indent 12ex adds 12ex in front of the text.
text-indent-092 = Ahem Text-indent set to a nominal value for 'ex' units with a plus sign
  • Ensure that text-indent +12ex adds 12ex in front of the text.
text-indent-100 = Ahem Text-indent using percentages with a negative zero value, +0%
  • The 'text-indent' property sets a negative zero length value in percentages.
text-indent-101 = Ahem Text-indent using percentages with a zero value, 0%
  • The 'text-indent' property sets a zero length value in percentages.
text-indent-102 = Ahem Text-indent using percentages with a positive zero value, +0%
  • The 'text-indent' property sets a positive zero length value in percentages.
text-indent-103 = Ahem Text-indent set to '50%'
  • Ensure that text-indent 50% adds 50% of the containing block's width in front of the text.
text-indent-104 = Ahem Text-indent set to '+50%'
  • Ensure that text-indent +50% adds 50% of its containing block's width in front of the text.
text-indent-109 = Ahem Text-indent set to a negative zero value with no units, '0'
  • Ensure that text-indent -0 adds 0 in front of the text.
text-indent-110 = Ahem Text-indent set to a zero value with no units, '0'
  • Ensure that text-indent 0 adds 0 in front of the text.
text-indent-111 = Ahem Text-indent set to a positive zero value with no units, +0
  • Ensure that text-indent +0 adds 0px in front of the text.
text-indent-112 = Ahem Text-indent set to 'inherit'
  • Ensure that text-indent with inherit uses its parent's value for text-indent.
text-indent-113 = text-indent test (single-line-100)
text-indent-114 = text-indent test (single-line-0)
text-indent-115 = = text-indent test (single-line-indent-inline)
text-indent-applies-to-001 = Ahem Text-indent application on a 'display: inline' element
  • The 'text-indent' property is not applied to 'display: inline' elements.
text-indent-applies-to-002 = Ahem Text-indent application on a 'display: block' element
  • The 'text-indent' property is applied to 'display: block' elements.
text-indent-applies-to-003 = Ahem Text-indent application on a 'display: list-item' element
  • The 'text-indent' property is applied to display: list-item elements.
text-indent-applies-to-005 = Ahem Text-indent application on a 'display: inline-block' element
  • The 'text-indent' property is applied to 'display: inline-block' elements.
text-indent-applies-to-006 = Ahem Text-indent application on a 'display: table' element
  • The 'text-indent' property is applied to 'display: table' elements.
text-indent-applies-to-007 = Ahem Text-indent application on a 'display: inline-table' element
  • The 'text-indent' property is applied to 'display: inline-table' elements.
text-indent-applies-to-008 = Ahem Text-indent application on a 'display: table-row-group' element
  • The 'text-indent' property is applied to 'display: table-row-group' elements.
text-indent-applies-to-009 = Ahem Text-indent application on a 'display: table-header-group' element
  • The 'text-indent' property is applied to 'display: table-header-group' elements.
text-indent-applies-to-010 = Ahem Text-indent application on a 'display: table-footer-group' element
  • The 'text-indent' property is applied to 'display: table-footer-group' elements.
text-indent-applies-to-011 = Ahem Text-indent application on a 'display: table-row' element
  • The 'text-indent' property is applied to 'display: table-row' elements.
text-indent-applies-to-012 = Ahem Text-indent application on a 'display: table-column-group' element
  • The 'text-indent' property is not applied to 'display: table-column-group' elements.
text-indent-applies-to-013 = Ahem Text-indent application on a 'display: table-column' element
  • The 'text-indent' property is not applied to 'display: table-column' elements.
text-indent-applies-to-014 = Ahem Text-indent application on a 'display: table-cell' element
  • The 'text-indent' property is applied to 'display: table-cell' elements.
text-indent-applies-to-015 = Ahem Text-indent application on a 'display: table-caption' element
  • The 'text-indent' property is applied to 'display: table-caption' elements.
text-indent-composition Script letter-spacing composition
text-indent-inherited-001 = Ahem Text-indent and inline-block level inheritance
  • The 'text-indent' property is inherited by inline-block level elements resulting in a double indent.
text-indent-interpolation Script
text-indent-intrinsic-001 = Test for intrinsic widths and text-indent (intrinsic-min)
text-indent-intrinsic-002 = Test for intrinsic widths and text-indent (intrinsic-pref)
text-indent-intrinsic-003 = Test for intrinsic widths and negative text-indent (negative-intrinsic-min)
text-indent-intrinsic-004 = Test for intrinsic widths and negative text-indent (negative-intrinsic-pref)
text-indent-on-blank-line-rtl-left-align = Text-indent on blank line in RTL container with text-align:left
text-indent-overflow-001 = Text-indent with negative value with overflow hidden
  • The 'text-indent' property with negative value follows the overflow hidden assignment.
text-indent-overflow-002 = Ahem Text-indent with negative value with 'overflow' set to 'visible'
  • The 'text-indent' property with negative value follows the 'overflow: visible' assignment.
text-indent-overflow-003 = Ahem Text-indent with value larger than the available width with 'overflow' set to 'visible'
  • The 'text-indent' property with a value exceeding the available width follows the 'overflow: visible' assignment.
text-indent-overflow-004 = Text-indent with value larger than the available width with 'overflow' set to 'hidden'
  • The 'text-indent' property with value exceeding the available width of the element follows the 'overflow: hidden' assignment.
text-indent-percent-001 = text-indent test (single-line-percent)
text-indent-percentage-002 = text-indent percentage resolution basis
  • Percentages in text-indent refer to width of the element's content box
text-indent-percentage-003 = text-indent percentage resolution basis
  • Percentages in text-indent refer to width of the element's content box
text-indent-percentage-004 = text-indent percentage resolution basis, in a calc expressiong
  • Percentages in text-indent refer to width of the element's content box, when used in a calc expression
text-indent-rtl-001 = Ahem Text-indent with 'direction' set to 'rtl'
  • The 'text-indent' property on an element with 'direction: rtl' indents from the right instead of left.
text-indent-rtl-002 = Ahem Text-indent with negative value
  • The 'text-indent' property with negative values with direction rtl indent to the right.
text-indent-wrap-001 = = text-indent test (multiple-line)
transition-property-039-manual transition-property - text-indent
  • Test checks that the 'text-indent' property is animatable.
text-indent-computed Script CSS Text: getComputedStyle().textIndent
  • text-indent computed value is computed <length-percentage> value, plus any specified keywords.
text-indent-invalid Script parsing text-indent with invalid values
  • text-indent supports only the grammar '[ <length-percentage> ] && hanging? && each-line?'.
text-indent-valid Script parsing text-indent with valid values
  • text-indent supports the full grammar '[ <length-percentage> ] && hanging? && each-line?'.
text-indent-percentage-001 = Ahem text-indent Percentage - basic cases
  • Ensure that text-indent +50% adds 50% of its containing block's width in front of the text.
+ 8.2 Hanging Glyphs
white-space-intrinsic-size-013 = min-content sizing and 'white-space: pre-wrap'
  • When 'white-space' is 'pre-wrap', white spaces at the end of the line are preserved. In this test, the overflowing end-of-line white spaces following the 'A', the 'GH', the 'MNO' and the 'WXYZ' conditionally 'hang' while they do not affect the intrinsic min-content size.
white-space-intrinsic-size-014 = min-content sizing and 'white-space: pre-wrap'
  • When 'white-space' is 'pre-wrap', white spaces at the end of the line are preserved. In this test, the 4 overflowing white spaces following the 'ABCD', following the 'GHIJ', following the 'MNOP' and following the 'WXYZ' conditionally 'hang' while they do not affect the intrinsic min-content size.
+ 8.2.1 Hanging Punctuation: the hanging-punctuation property
hanging-scrollable-001 = hanging punctuation is scrollable overflow
  • Hanging characters that overflow their block container are treated as scrollable overflow.
hanging-punctuation-allow-end-001 = Font hanging-punctuation - allow-end - basic cases
  • This property determines whether a punctuation mark, if one is present, may be placed outside the line box (or in the indent) at the start or at the end of a full line of text.
hanging-punctuation-first-001 = Font hanging-punctuation - first - basic cases
  • This property determines whether a punctuation mark, if one is present, may be placed outside the line box (or in the indent) at the start or at the end of a full line of text.
hanging-punctuation-force-end-001 = Font hanging-punctuation - force-end - basic cases
  • This property determines whether a punctuation mark, if one is present, may be placed outside the line box (or in the indent) at the start or at the end of a full line of text.
hanging-punctuation-inline-001 = hanging-punctuation - force-end - basic cases
  • hanging punctuation applies to inlines
hanging-punctuation-last-001 = Font hanging-punctuation - last - basic cases
  • This property determines whether a punctuation mark, if one is present, may be placed outside the line box (or in the indent) at the start or at the end of a full line of text.
hanging-punctuation-invalid Script parsing hanging-punctuation with invalid values
  • hanging-punctuation supports only the grammar 'none | [ first || [ force-end | allow-end ] || last ]'.
hanging-punctuation-valid Script parsing hanging-punctuation with valid values
  • hanging-punctuation supports the full grammar 'none | [ first || [ force-end | allow-end ] || last ]'.
+ 8.3 Bidirectionality and Line Boxes