CSS Text Module Level 3 CR Test Suite

Spacing (187 tests)

Test Refs Flags Info
+ 7 Spacing
+ 7.1 Word Spacing: the word-spacing property
c541-word-sp-000 = Ahem word-spacing
c541-word-sp-001 = Ahem word-spacing
marker-word-spacing = ::marker supports 'word-spacing'
  • Checks that ::marker supports 'word-spacing', both explicitly set or inherited from an ancestor
tab-size-spacing-001 = tab-size, word-spacing and letter-spacing
  • For the tab-size property, a <number> represents the measure as a multiple of the space character&#8217;s advance width (U+0020) including its associated letter-spacing and word-spacing
transition-property-044-manual Ahem transition-property - word-spacing
  • Test checks that the 'word-spacing' property is animatable.
word-spacing-004 = Ahem Word-spacing using pixels with a negative zero value, -0px
  • The 'word-spacing' property sets a negative zero length value in pixels.
word-spacing-005 = Ahem Word-spacing using pixels with a zero value, 0px
  • The 'word-spacing' property sets a zero length value in pixels.
word-spacing-006 = Ahem Word-spacing using pixels with a positive zero value, +0px
  • The 'word-spacing' property sets a positive zero length value in pixels.
word-spacing-007 = Ahem Word-spacing normal pixel on an element
  • Ensure that word-spacing 96px adds 96px (in addition to default spacing) between words in the element.
word-spacing-008 = Ahem Word-spacing +normal pixel on an element
  • Ensure that word-spacing +96px adds 96px (in addition to default spacing) between words in the element.
word-spacing-016 = Ahem Word-spacing using points with a negative zero value, -0pt
  • The 'word-spacing' property sets a negative zero length value in points.
word-spacing-017 = Ahem Word-spacing using points with a zero value, 0pt
  • The 'word-spacing' property sets a zero length value in points.
word-spacing-018 = Ahem Word-spacing using points with a positive zero value, +0pt
  • The 'word-spacing' property sets a positive zero length value in points.
word-spacing-019 = Ahem Word-spacing set to a nominal value of '72pt'
  • Ensure that letter-spacing 72pt adds 72pt (in addition to default spacing) between letters in the element.
word-spacing-020 = Ahem Word-spacing +normal pt on an element
  • Ensure that word-spacing +72pt adds +72 points (in addition to default spacing) between words in the element.
word-spacing-028 = Ahem Word-spacing using picas with a negative zero value, -0pc
  • The 'word-spacing' property sets a negative zero length value in picas.
word-spacing-029 = Ahem Word-spacing using picas with a zero value, 0pc
  • The 'word-spacing' property sets a zero length value in picas.
word-spacing-030 = Ahem Word-spacing using picas with a positive zero value, +0pc
  • The 'word-spacing' property sets a positive zero length value in picas.
word-spacing-031 = Ahem Word-spacing normal pc on an element
  • Ensure that word-spacing 6pc adds 6pc (in addition to default spacing) between words in the element.
word-spacing-032 = Ahem Word-spacing +normal pc on an element
  • Ensure that word-spacing +6pc adds 6pc (in addition to default spacing) between words in the element.
word-spacing-040 = Ahem Word-spacing using centimeters with a negative zero value, -0cm
  • The 'word-spacing' property sets a negative zero length value in centimeters.
word-spacing-041 = Ahem Word-spacing using centimeters with a zero value, 0cm
  • The 'word-spacing' property sets a zero length value in centimeters.
word-spacing-042 = Ahem Word-spacing using centimeters with a positive zero value, +0cm
  • The 'word-spacing' property sets a positive zero length value in centimeters.
word-spacing-043 = Ahem Word-spacing normal cm on an element
  • Ensure that word-spacing 2.54cm adds 2.54cm (in addition to default spacing) between words in the element.
word-spacing-044 = Ahem Word-spacing +normal cm on an element
  • Ensure that word-spacing +2.54cm adds 2.54cm (in addition to default spacing) between words in the element.
word-spacing-052 = Ahem Word-spacing using millimeters with a negative zero value, -0mm
  • The 'word-spacing' property sets a negative zero length value in millimeters.
word-spacing-053 = Ahem Word-spacing using millimeters with a zero value, 0mm
  • The 'word-spacing' property sets a zero length value in millimeters.
word-spacing-054 = Ahem Word-spacing using millimeters with a positive zero value, +0mm
  • The 'word-spacing' property sets a positive zero length value in millimeters.
word-spacing-055 = Ahem Word-spacing normal mm on an element
  • Ensure that word-spacing 25.4mm adds 25.4mm (in addition to default spacing) between words in the element.
word-spacing-056 = Ahem Word-spacing +normal mm on an element
  • Ensure that word-spacing +25.4mm adds 25.4mm (in addition to default spacing) between words in the element.
word-spacing-064 = Ahem Word-spacing using inches with a negative zero value, -0in
  • The 'word-spacing' property sets a negative zero length value in inches.
word-spacing-065 = Ahem Word-spacing using inches with a zero value, 0in
  • The 'word-spacing' property sets a zero length value in inches.
word-spacing-066 = Ahem Word-spacing using inches with a positive zero value, +0in
  • The 'word-spacing' property sets a positive zero length value in inches.
word-spacing-067 = Ahem Word-spacing normal in on an element
  • Ensure that word-spacing 1in adds 1in (in addition to default spacing) between words in the element.
word-spacing-068 = Ahem Word-spacing +normal in on an element
  • Ensure that word-spacing +1in adds 1in (in addition to default spacing) between words in the element.
word-spacing-076 = Ahem Word-spacing using 'em' units with a negative zero value, -0em
  • The 'word-spacing' property sets a negative zero length value in 'em' units.
word-spacing-077 = Ahem Word-spacing using 'em' units with a zero value, 0em
  • The 'word-spacing' property sets a zero length value in 'em' units.
word-spacing-078 = Ahem Word-spacing using 'em' units with a positive zero value, +0em
  • The 'word-spacing' property sets a positive zero length value in 'em' units.
word-spacing-079 = Ahem Word-spacing normal em on an element
  • Ensure that word-spacing 6em adds 6em (in addition to default spacing) between words in the element.
word-spacing-080 = Ahem Word-spacing +normal em on an element
  • Ensure that word-spacing +6em adds 6em (in addition to default spacing) between words in the element.
word-spacing-088 = Ahem Word-spacing using 'ex' units with a negative zero value, -0ex
  • The 'word-spacing' property sets a negative zero length value in 'ex' units.
word-spacing-089 = Ahem Word-spacing using 'ex' units with a zero value, 0ex
  • The 'word-spacing' property sets a zero length value in 'ex' units.
word-spacing-090 = Ahem Word-spacing using 'ex' units with a positive zero value, +0ex
  • The 'word-spacing' property sets a positive zero length value in 'ex' units.
word-spacing-091 = Ahem Word-spacing nominal ex on an element
  • Ensure that word-spacing 12ex adds 12ex (in addition to default spacing) between words in the element.
word-spacing-092 = Ahem Word-spacing +normal ex on an element
  • Ensure that word-spacing +12ex adds 12ex (in addition to default spacing) between words in the element.
word-spacing-097 = Ahem Word-spacing -0 on an element
  • Ensure that word-spacing -0 adds 0 (in addition to default spacing) between words in the element.
word-spacing-098 = Ahem Word-spacing 0 on an element
  • Ensure that word-spacing 0 adds no extra space (in addition to default spacing) between words in the element.
word-spacing-099 = Ahem Word-spacing +0 on an element
  • Ensure that word-spacing +0 adds no extra space (in addition to default spacing) between words in the element.
word-spacing-100 = Ahem Word-spacing set to 'normal'
  • The 'word-spacing' property set to normal does not change spacing between words.
word-spacing-101 = Ahem Word-spacing inherit on an element
  • Ensure that word-spacing with inherit uses its parents value for word-spacing.
word-spacing-applies-to-001 = Ahem Word-spacing application to 'display: inline' element
  • The 'word-spacing' property applies to 'display: inline' elements.
word-spacing-applies-to-002 = Ahem Word-spacing application to 'display: block' element
  • The 'word-spacing' property applies to 'display: block' elements.
word-spacing-applies-to-003 = Ahem Word-spacing application to 'display: list-item' element
  • The 'word-spacing' property applies to 'display: list-item' elements.
word-spacing-applies-to-005 = Ahem Word-spacing application to 'display: inline-block' element
  • The 'word-spacing' property applies to 'display: inline-block' elements.
word-spacing-applies-to-006 = Ahem Word-spacing application to 'display: table' element
  • The 'word-spacing' property applies to 'display: table' elements.
word-spacing-applies-to-007 = Ahem Word-spacing application to 'display: inline-table' element
  • The 'word-spacing' property applies to 'display: inline-table' elements.
word-spacing-applies-to-008 = Ahem Word-spacing application to 'display: table-row-group' element
  • The 'word-spacing' property applies to 'display: table-row-group' elements.
word-spacing-applies-to-009 = Ahem Word-spacing application to 'display: table-header-group' element
  • The 'word-spacing' property applies to 'display: table-header-group' elements.
word-spacing-applies-to-010 = Ahem Word-spacing application to 'display: table-footer-group' element
  • The 'word-spacing' property applies to 'display: table-footer-group' elements.
word-spacing-applies-to-011 = Ahem Word-spacing application to 'display: table-row' element
  • The 'word-spacing' property applies to 'display: table-row' elements.
word-spacing-applies-to-012 = Ahem Word-spacing application to 'display: table-column-group' element
  • The 'word-spacing' property is not applied to 'display: table-column-group' elements.
word-spacing-applies-to-013 = Ahem Word-spacing application to 'display: table-column' element
  • The 'word-spacing' property is not applied to 'display: table-column' elements.
word-spacing-applies-to-014 = Ahem Word-spacing application to 'display: table-cell' element
  • The 'word-spacing' property applies to 'display: table-cell' elements.
word-spacing-applies-to-015 = Ahem Word-spacing application to 'display: table-caption' element
  • The 'word-spacing' property applies to 'display: table-caption' elements.
word-spacing-characters-001 = word-spacing on Flexible Space Characters
  • Word-spacing affects each space (U+0020) and non-breaking space (U+00A0).
word-spacing-characters-002 = word-spacing on Fixed-Width Space Characters
  • Word-spacing does not affect fixed-width spaces.
word-spacing-characters-003 = word-spacing on Zero-Width Characters
  • Word-spacing does not affect zero-width characters.
word-spacing-composition Script word-spacing composition
word-spacing-interpolation Script
word-spacing-justify-001 = Ahem Word-spacing and 'text-align: justify'
  • The word spacing is changed when combined with 'text-align: justify'.
word-spacing-remove-space-001 = Ahem Word-spacing and white space with multiple spaces
  • The white space processing removes spaces before 'word-spacing' is applied.
word-spacing-remove-space-002 = Ahem Word-spacing and white space with multiple non-breaking spaces
  • The white space processing removes non-breaking space before 'word-spacing' is applied.
word-spacing-remove-space-003 = Ahem Word-spacing and white space with multiple ideographic spaces
  • The white space processing removes ideographic space before 'word-spacing' is applied.
word-spacing-remove-space-004 = Ahem Word-spacing and white space with multiple preserved spaces
  • Any space left after white-space processing model occurs, has word-spacing applied to it.
word-spacing-remove-space-005 = Ahem Word-spacing and white space with multiple preserved spaces
  • Any non-breaking space left after white-space processing model occurs, has word-spacing applied to it.
word-spacing-remove-space-006 = Ahem Word-spacing and white space with multiple preserved spaces
  • Any ideographic space left after white-space processing model occurs, has word-spacing applied to it.
word-spacing-computed Script CSS Text: getComputedStyle().wordSpacing
  • word-spacing computed value is an absolute length.
  • 'normal' computes to zero.
word-spacing-invalid Script parsing word-spacing with invalid values
  • word-spacing supports only the grammar 'normal | <length>'.
word-spacing-valid Script parsing word-spacing with valid values
  • word-spacing supports the full grammar 'normal | <length>'.
text-word-spacing-001 = Ahem Word Spacing
  • Test checks that word-spacing works with percentages.
+ 7.2 Tracking: the letter-spacing property
bidi-005 = The bidi algorithm and inlines in CSS: embed levels and white-space: pre;
bidi-005a = The bidi algorithm and inlines in CSS: embed levels and white-space: pre;
bidi-005b = The bidi algorithm and inlines in CSS: embed levels and white-space: pre;
bidi-006 = The bidi algorithm and inlines in CSS: embed levels and white-space: nowrap;
bidi-006a = The bidi algorithm and inlines in CSS: embed levels and white-space: nowrap;
bidi-006b = The bidi algorithm and inlines in CSS: embed levels and white-space: nowrap;
bidi-007 = The bidi algorithm and inlines in CSS: embed levels and float: left;
bidi-007b = The bidi algorithm and inlines in CSS: embed levels and float: left;
bidi-008 = The bidi algorithm and inlines in CSS: embed levels and display: table;
bidi-008b = The bidi algorithm and inlines in CSS: embed levels and display: table;
bidi-009 = The bidi algorithm and inlines in CSS: embed levels and display: table-row;
bidi-010 = The bidi algorithm and inlines in CSS: embed levels and position: absolute
bidi-010b = The bidi algorithm and inlines in CSS: embed levels and position: absolute
c542-letter-sp-000 = Ahem letter-spacing
c542-letter-sp-001 = Ahem letter-spacing
letter-spacing-004 = Ahem Letter-spacing using pixels with a negative zero value, -0px
  • The 'letter-spacing' property sets a negative zero length value in pixels.
letter-spacing-005 = Ahem Letter-spacing using pixels with a zero value, 0px
  • The 'letter-spacing' property sets a zero length value in pixels.
letter-spacing-006 = Ahem Letter-spacing using pixels with a positive zero value, +0px
  • The 'letter-spacing' property sets a positive zero length value in pixels.
letter-spacing-007 = Ahem Letter-spacing using pixels with a nominal value, 96px
  • The 'letter-spacing' property sets a nominal length value in pixels.
letter-spacing-008 = Ahem Letter-spacing using pixels with a nominal value with a plus sign, +96px
  • The 'letter-spacing' property sets a nominal length value in pixels with a plus sign.
letter-spacing-016 = Ahem Letter-spacing using points with a negative zero value, -0pt
  • The 'letter-spacing' property sets a negative zero length value in points.
letter-spacing-017 = Ahem Letter-spacing using points with a zero value, 0pt
  • The 'letter-spacing' property sets a zero length value in points.
letter-spacing-018 = Ahem Letter-spacing using points with a positive zero value, +0pt
  • The 'letter-spacing' property sets a positive zero length value in points.
letter-spacing-019 = Ahem Letter-spacing using points with a nominal value, 72pt
  • The 'letter-spacing' property sets a nominal length value in points.
letter-spacing-020 = Ahem Letter-spacing using points with a nominal value with a plus sign, +72pt
  • The 'letter-spacing' property sets a nominal length value in points with a plus sign.
letter-spacing-028 = Ahem Letter-spacing using picas with a negative zero value, -0pc
  • The 'letter-spacing' property sets a negative zero length value in picas.
letter-spacing-029 = Ahem Letter-spacing using picas with a zero value, 0pc
  • The 'letter-spacing' property sets a zero length value in picas.
letter-spacing-031 = Ahem Letter-spacing using picas with a nominal value, 6pc
  • The 'letter-spacing' property sets a nominal length value in picas.
letter-spacing-032 = Ahem Letter-spacing using picas with a nominal value with a plus sign, +6pc
  • The 'letter-spacing' property sets a nominal length value in picas with a plus sign.
letter-spacing-040 = Ahem Letter-spacing using centimeters with a negative zero value, -0cm
  • The 'letter-spacing' property sets a negative zero length value in centimeters.
letter-spacing-041 = Ahem Letter-spacing using centimeters with a zero value, 0cm
  • The 'letter-spacing' property sets a zero length value in centimeters.
letter-spacing-042 = Ahem Letter-spacing using centimeters with a positive zero value, +0cm
  • The 'letter-spacing' property sets a positive zero length value in centimeters.
letter-spacing-043 = Ahem Letter-spacing using centimeters with a nominal value, 2.54cm
  • The 'letter-spacing' property sets a nominal length value in centimeters.
letter-spacing-044 = Ahem Letter-spacing using centimeters with a nominal value with a plus sign, +2.54cm
  • The 'letter-spacing' property sets a nominal length value in centimeters with a plus sign.
letter-spacing-052 = Ahem Letter-spacing using millimeters with a negative zero value, -0mm
  • The 'letter-spacing' property sets a negative zero length value in millimeters.
letter-spacing-053 = Ahem Letter-spacing using millimeters with a zero value, 0mm
  • The 'letter-spacing' property sets a zero length value in millimeters.
letter-spacing-054 = Ahem Letter-spacing using millimeters with a positive zero value, +0mm
  • The 'letter-spacing' property sets a positive zero length value in millimeters.
letter-spacing-055 = Ahem Letter-spacing using millimeters with a nominal value, 25.4mm
  • The 'letter-spacing' property sets a nominal length value in millimeters.
letter-spacing-056 = Ahem Letter-spacing using millimeters with a nominal value with a plus sign, +25.4mm
  • The 'letter-spacing' property sets a nominal length value in millimeters with a plus sign.
letter-spacing-064 = Ahem Letter-spacing using inches with a negative zero value, -0in
  • The 'letter-spacing' property sets a negative zero length value in inches.
letter-spacing-065 = Ahem Letter-spacing using inches with a zero value, 0in
  • The 'letter-spacing' property sets a zero length value in inches.
letter-spacing-066 = Ahem Letter-spacing using inches with a positive zero value, +0in
  • The 'letter-spacing' property sets a positive zero length value in inches.
letter-spacing-067 = Ahem Letter-spacing using inches with a nominal value, 1in
  • The 'letter-spacing' property sets a nominal length value in inches.
letter-spacing-068 = Ahem Letter-spacing using inches with a nominal value with a plus sign, +1in
  • The 'letter-spacing' property sets a nominal length value in inches with a plus sign.
letter-spacing-076 = Ahem Letter-spacing using 'em' units with a negative zero value, -0em
  • The 'letter-spacing' property sets a negative zero length value in 'em' units.
letter-spacing-077 = Ahem Letter-spacing using 'em' units with a zero value, 0em
  • The 'letter-spacing' property sets a zero length value in 'em' units.
letter-spacing-078 = Ahem Letter-spacing using 'em' units with a positive zero value, +0em
  • The 'letter-spacing' property sets a positive zero length value in 'em' units.
letter-spacing-079 = Ahem Letter-spacing using 'em' units with a nominal value, 6em
  • The 'letter-spacing' property sets a nominal length value in 'em' units.
letter-spacing-080 = Ahem Letter-spacing using 'em' units with a nominal value with a plus sign, +6em
  • The 'letter-spacing' property sets a nominal length value in 'em' units with a plus sign.
letter-spacing-088 = Ahem Letter-spacing using 'ex' units with a negative zero value, -0ex
  • The 'letter-spacing' property sets a negative zero length value in 'ex' units.
letter-spacing-089 = Ahem Letter-spacing using 'ex' units with a zero value, 0ex
  • The 'letter-spacing' property sets a zero length value in 'ex' units.
letter-spacing-090 = Ahem Letter-spacing using 'ex' units with a positive zero value, +0ex
  • The 'letter-spacing' property sets a positive zero length value in 'ex' units.
letter-spacing-091 = Ahem Letter-spacing using 'ex' units with a nominal value, 12ex
  • The 'letter-spacing' property sets a nominal length value in 'ex' units.
letter-spacing-092 = Ahem Letter-spacing using 'ex' units with a nominal value with a plus sign, +12ex
  • The 'letter-spacing' property sets a nominal length value in 'ex' units with a plus sign.
letter-spacing-097 = Ahem Letter-spacing sets a negative zero value with no units, -0
  • The 'letter-spacing' property sets a negative zero length value with no units.
letter-spacing-098 = Ahem Letter-spacing sets a zero value with no units, 0
  • The 'letter-spacing' property sets a zero length value with no units.
letter-spacing-099 = Ahem Letter-spacing sets a positive zero value with no units, +0
  • The 'letter-spacing' property sets a positive zero length value with no units.
letter-spacing-100 = Ahem Letter-spacing set to 'normal'
  • The 'letter-spacing' property set to 'normal' sets the typical spacing for letters based on the font.
letter-spacing-101 = Ahem Letter-spacing set to 'inherit'
  • The 'letter-spacing' set to 'inherit' uses its parents' value for the spacing of letters.
letter-spacing-102 = DOM/JS Dynamic letter-spacing changes
letter-spacing-applies-to-001 = Ahem Letter-spacing application on a 'display: inline' element
  • The 'letter-spacing' property is applied to 'display: inline' elements.
letter-spacing-applies-to-002 = Ahem Letter-spacing application on a 'display: block' element
  • The 'letter-spacing' property is applied to 'display: block' elements.
letter-spacing-applies-to-003 = Ahem Letter-spacing application on a 'display: list-item' element
  • The 'letter-spacing' property is applied to 'display: list-item' elements.
letter-spacing-applies-to-005 = Ahem Letter-spacing application on a 'display: inline-block' element
  • The 'letter-spacing' property is applied to 'display: inline-block' elements.
letter-spacing-applies-to-006 = Ahem Letter-spacing application on a 'display: table' element
  • The 'letter-spacing' property is applied to 'display: table' elements.
letter-spacing-applies-to-007 = Ahem Letter-spacing application on a 'display: inline-table' element
  • The 'letter-spacing' property is applied to 'display: inline-table' elements.
letter-spacing-applies-to-008 = Ahem Letter-spacing application on a 'display: table-row-group' element
  • The 'letter-spacing' property is applied to 'display: table-row-group' elements.
letter-spacing-applies-to-009 = Ahem Letter-spacing application on a 'display: table-header-group' element
  • The 'letter-spacing' property is applied to 'display: table-header-group' elements.
letter-spacing-applies-to-010 = Ahem Letter-spacing application on a 'display: table-footer-group' element
  • The 'letter-spacing' property is applied to 'display: table-footer-group' elements.
letter-spacing-applies-to-011 = Ahem Letter-spacing application on a 'display: table-row' element
  • The 'letter-spacing' property is applied to 'display: table-row' elements.
letter-spacing-applies-to-012 = Ahem Letter-spacing application on a 'display: table-column-group' element
  • The 'letter-spacing' property does not apply to 'display: table-column-group' elements.
letter-spacing-applies-to-013 = Ahem Letter-spacing application on a 'display: table-column' element
  • The 'letter-spacing' property does not apply to 'display: table-column' elements.
letter-spacing-applies-to-014 = Ahem Letter-spacing application on a 'display: table-cell' element
  • The 'letter-spacing' property is applied to 'display: table-cell' elements.
letter-spacing-applies-to-015 = Ahem Letter-spacing application on a 'display: table-caption' element
  • The 'letter-spacing' property is applied to 'display: table-caption' elements.
letter-spacing-bidi-001 = letter spacing after bidi
  • Letter spacing is inserted after RTL reordering, so letter spacing cannot apply to any of the letters in the span below, since they get split appart.
letter-spacing-bidi-002 = letter spacing at bidi fragment boudary
  • When bidi would cause to pieces of a single inline box to be appart if there was enough room to fit everything in one line, the two pieces are separate fragments even if they end up next to eachother due to line breaking. Letter spacing at the boundary of such separate fragments comes from their common ancestor, not from the letter-spacing property on the fragmented inline box itself.
letter-spacing-bidi-003 = letter spacing, justified text and bidi
  • text-align: justify will stretch the space between words, which should be applied after bidi processing.
letter-spacing-bidi-004 = letter spacing is between letters, with bidi
  • letter spacing should be applied between letters, not after letters. The latter will cause the colored backgrounds of the span elements to expand.
letter-spacing-bidi-005 = letter spacing nested changes, with bidi
  • Changes in letter spacing affect the spacing between letters within that element only
letter-spacing-composition Script letter-spacing composition
letter-spacing-control-chars-001 = letter-spacing should not be applied to zero-width format controls
letter-spacing-end-of-line-001 = letter spacing at end of line
  • Letter-spacing must not be applied at the beginning or at the end of a line.
letter-spacing-interpolation Script
letter-spacing-justify-001 = Ahem Letter-spacing and 'text-align: justify'
  • The letter-spacing is not changed when combined with 'text-align: justify'.
letter-spacing-nesting-001 = letter on nested element
  • A given value of letter-spacing only affects the spacing between characters completely contained within the element for which it is specified
letter-spacing-nesting-002 = letter spacing on element with single character
  • Applying letter-spacing to an element containing only a single character has no effect on the rendered result
letter-spacing-nesting-003 = letter spacing changes within element tree
  • Changes in letter spacing affect the spacing between letters within that element only
marker-letter-spacing = = ::marker supports 'letter-spacing'
  • Checks that ::marker supports 'letter-spacing', both explicitly set or inherited from an ancestor
selection-intercharacter-011 = Optional active selection and inter-character spacing
  • This test verifies that intercharacter spacing may be part of the overlay area. When intercharacter spacing is part of the overlay area, then it belongs to the innermost element which contains both characters and which contains such spacing when both characters are selected. In this test, the 'c' and the 't' characters and the space between these characters belong to the same element. Therefore, the 'c' character, the 't' character and the space between these characters have the same orange background color painting.
selection-intercharacter-012 = Optional active selection and inter-character spacing
  • In this test, the 'c' and the 't' characters share the same level in the containment hierarchy but the space between these characters does not. Therefore, only the 'c' and the 't' characters themselves have an orange background color painting.
tab-size-spacing-001 = tab-size, word-spacing and letter-spacing
  • For the tab-size property, a <number> represents the measure as a multiple of the space character&#8217;s advance width (U+0020) including its associated letter-spacing and word-spacing
transition-property-022-manual Ahem transition-property - letter-spacing
  • Test checks that the 'letter-spacing' property is animatable.
white-space-letter-spacing-001 = letter-spacing is not applied to preserved line-breaks
letter-spacing-200 = letter-spacing at line endings (letters)
  • Letter spacing is not applied at the start/end of a line.
letter-spacing-201 = letter-spacing at line endings (spaces)
  • Letter spacing is not applied at the start/end of a line even on spaces.
letter-spacing-202 = letter-spacing on zero-width characters
  • Letter spacing ignores zero-width formatting characters.
letter-spacing-203 = letter-spacing at element boundaries
  • Letter spacing between two characters is given by their closest mutual ancestor.
letter-spacing-204 = letter-spacing at element boundaries
  • Letter spacing is not applied between atomic inlines, but is applied between a (run of) atomic inline(s) and an adjacent letter.
letter-spacing-205 = letter-spacing at element boundaries
  • Letter spacing is applied after any intervening text-empty inlines.
letter-spacing-206 = letter-spacing at element boundaries
  • Letter spacing affects unwrapped min-content and max-content sizes.
letter-spacing-211 = letter-spacing at element boundaries
  • Emphasis marks are centered on characters, not characters + spacing.
letter-spacing-212 = letter-spacing at element boundaries
  • Ruby annotations are centered on bases, not bases + trailing letter-spacing.
letter-spacing-computed Script CSS Text: getComputedStyle().letterSpacing
  • letter-spacing computed value is an absolute length.
  • 'normal' computes to zero, but the resolved value of 0px is 'normal', so that's the value that is observed.
letter-spacing-invalid Script parsing letter-spacing with invalid values
  • letter-spacing supports only the grammar 'normal | <length>'.
letter-spacing-valid Script parsing letter-spacing with valid values
  • letter-spacing supports the full grammar 'normal | <length>'.
+ 7.2.1 Cursive Scripts
+ 7.3 Shaping Across Element Boundaries
text-transform-shaping-001 = text-transform:capitalize and text-shaping
  • Text shaping must not be broken across inline box boundaries when there is no change in formatting. Arabic is not a bicameral script, so text-transform:capitalize has no effect, and should not affect shaping.
text-transform-shaping-002 = text-transform:uppercase and text-shaping
  • Text shaping must not be broken across inline box boundaries when there is no change in formatting. Arabic is not a bicameral script, so text-transform:uppercase has no effect, and should not affect shaping.
text-transform-shaping-003 = text-transform:lowercase and text-shaping
  • Text shaping must not be broken across inline box boundaries when there is no change in formatting. Arabic is not a bicameral script, so text-transform:lowercase has no effect, and should not affect shaping.