CSS Writing Modes Module Level 3 CR Test Suite

Glyph Composition (35 tests)

Test Refs Flags Info
+ 9 Glyph Composition
+ 9.1 Horizontal-in-Vertical Composition: the text-combine-upright property
text-combine-upright-all-001-manual text-combine-upright:all (up to 2 chars)
  • text-combine-upright:digits will display two-character numbers and text horizontally.
text-combine-upright-all-002-manual text-combine-upright:all (up to 4 chars)
  • text-combine-upright:all will display up to four-character numbers horizontally.
text-combine-upright-inherit-all-001 = text-combine-upright:all inherits
  • This test checks text-combine-upright:all inherits
text-combine-upright-inherit-all-002 = text-combine-upright :all
  • This test checks text-combine-upright:all inherits through the containment hierarchy and interrupted (by a box boundary) text runs
text-combine-upright-parsing-valid-001 DOM/JSScript CSS Writing Modes: parsing text-combine-upright with valid values
  • text-combine-upright supports `none`, `all`, `digits`, and `digits` followed by a digit in the range from 2 to 4.
text-combine-upright-sideways-001 = text-combine-upright has no effect in sideways writing mode
text-combine-upright-sideways-002 = text-combine-upright has no effect in sideways writing mode
text-combine-upright-value-all-001 = CSS Writing Modes: text-combine-upright: all
  • 'text-combine-upright: all' rotates the composition even if tate-chu-yoko
text-combine-upright-value-all-002 = Ahem CSS Writing Modes: text-combine-upright: all
  • 'text-combine-upright: all' combines all characters inside the element which the declaration applied horizontally.
text-combine-upright-value-all-003 = Ahem CSS Writing Modes: text-combine-upright: all
  • 'text-combine-upright: all' combines all characters inside the element which the declaration applied horizontally.
text-combine-upright-value-none-001 = Ahem CSS Writing Modes: text-combine-upright: none
  • 'text-combine-upright: none' does not combine any characters in any circumstance.
writing-mode-horizontal-001l = CSS Writing Modes: text-combine-upright in horizontal writing mode
  • text-combine-upright does not have an effect in horizontal writing modes.
writing-mode-horizontal-001r = CSS Writing Modes: text-combine-upright in horizontal writing mode
  • text-combine-upright does not have an effect in horizontal writing modes.
text-combine-upright-computed Script CSS Writing Modes: getComputedStyle().textCombineUpright
  • text-combine-upright computed value is as specified.
text-combine-upright-invalid Script CSS Writing Modes Level 3: parsing text-combine-upright with invalid values
  • text-combine-upright supports only the grammar 'none | all'.
text-combine-upright-valid Script CSS Writing Modes Level 3: parsing text-combine-upright with valid values
  • text-combine-upright supports the full grammar 'none | all'.
+ 9.1.1 Text Run Rules
+ 9.1.2 Layout Rules
text-combine-upright-break-inside-001 = text-combine-upright, whitespace inside tcy with insufficient line space
  • line should never be broken inside text-combine-upright text node
text-combine-upright-break-inside-001a = text-combine-upright, white-space: pre with new line
  • line should never be broken inside text-combine-upright text node
text-combine-upright-decorations-001 = Ahem The resulting composition is treated as a signel glyph for decorations
  • The resulting composition is treated as a signel glyph for decorations
text-combine-upright-layout-rules-001 = Ahem CSS Writing Modes: Layout rules of text-combine-upright
  • Anything outside the 1em-composition does not affect layout.
text-combine-upright-line-breaking-rules-001 = CSS Writing Modes: line-breaking-rules
  • The bracket should be combined with following characters.
+ 9.1.3 Compression Rules
text-combine-upright-compression-001 = text-combine-upright, no compression
  • text-combine-upright with character not wider than 1em should not trigger compression.
text-combine-upright-compression-002 = text-combine-upright, compression of two characters
  • text-combine-upright should try applying 'hwid' feature if the width is wider than 1em
text-combine-upright-compression-003 = text-combine-upright, compression of three characters
  • text-combine-upright should try applying 'twid' feature if the width is wider than 1em
text-combine-upright-compression-004 = text-combine-upright, compression of four characters
  • text-combine-upright should try applying 'qwid' feature if the width is wider than 1em
text-combine-upright-compression-007 = text-combine-upright: all, fit any number of characters
  • text-combine-upright: all should allow any amount of text to be compressed in a 1em square
+ 9.1.3.1 Full-width Characters
full-width-001 As-IsRecommend CSS Writing Modes: 'text-combine-upright: all' applied on a single typographic full-width unit character
  • When 'text-combine-upright: all' and 'text-transform: full-width' are applied simultaneously on 1 single typographic unit or when 'text-combine-upright: all' is set on a full-width typographic unit character, then such typographic unit remains a full-width character.
full-width-002 As-IsRecommend CSS Writing Modes: 'text-combine-upright: all' applied on 2 full-width characters
  • When two or more full-width characters are combined, they are first converted to non-full-width characters.
text-combine-upright-compression-005 = text-combine-upright, no compression for single full-width character
  • text-combine-upright should not change a single full-width character
text-combine-upright-compression-005a = text-combine-upright, no compression for single character with full-width transform
  • text-combine-upright should not change a single full-width character
text-combine-upright-compression-006 = text-combine-upright, compression for two full-width characters
  • text-combine-upright should run the reverse of full-width transform before applying compression
text-combine-upright-compression-006a = text-combine-upright, compression for two characters with full-width transform
  • text-combine-upright should run the reverse of full-width transform before applying compression
text-transform-fullwidth-002 = text-transform: full-width (basic)
  • This test checks basic support of 'text-transform: full-width' in a vertical writing context. Since full-width Latin characters are typeset upright, then the characters of the text sample of this test should not be rotated toward the right but should be upright.
text-transform-fullwidth-004 = text-transform: full-width with 1 single digit (basic)
  • This test checks basic support of 'text-transform: full-width' in a vertical writing context. Since full-width digit characters are typeset upright, then the single digit character in the text sample should not be rotated toward the right but should be upright.
text-transform-fullwidth-005 = text-transform: full-width with 2 digits (basic)
  • This test checks basic support of 'text-transform: full-width' in a vertical writing context. Since full-width digit characters are typeset upright, then both digit characters in the text sample should not be rotated toward the right but should be upright. This is furthermore the case since, in this test, there is no 'text-combine-upright' in effect or applying to such pair of digits.