CSS Writing Modes Module Level 3 CR Test Suite

Introduction to Vertical Text Layout (40 tests)

Test Refs Flags Info
+ 5 Introduction to Vertical Text Layout
+ 5.1 Orienting Text: the text-orientation property
ch-unit-002 = the ch unit in vertical orientation
  • In vertical upright, the ch unit is equal to the used vertical advance measure of the 0 (ZERO, U+0030) glyph found in the font used to render it.
ch-units-vrl-001 = upright vertical writing mode and ch unit on table rows
  • The font-metric dependent ch unit on table rows takes the writing mode (with upright text-orientation) into account, even though theses properties do not apply to that element.
ch-units-vrl-002 = upright vertical writing mode and ch unit on table row groups
  • The font-metric dependent ch unit on table row groups takes the writing mode (with upright text-orientatino) into account, even though these properties do not apply to that element.
ch-units-vrl-003 = upright vertical writing mode and ch unit on table columns
  • The font-metric dependent ch unit on table columns takes the writing mode (with upright orientation) into account, even though these properties do no apply to that element.
ch-units-vrl-004 = upright vertical writing mode and ch unit on table column groups
  • The font-metric dependent ch unit on table column groups takes the writing mode (with upright text-orientation) into account, even though these properties do not apply to that element.
ch-units-vrl-005 = sideways vertical writing mode and ch unit on table rows
  • The font-metric dependent ch unit on table rows takes the writing mode (with a sideways text-orientation) into account, even though theese properties do not apply to that element.
ch-units-vrl-006 = sideways vertical writing mode and ch unit on table row groups
  • The font-metric dependent ch unit on table row groups takes the writing mode (with a sideways text-orientation) into account, even though these properties do not apply to that element.
ch-units-vrl-007 = sideways vertical writing mode and ch unit on table columns
  • The font-metric dependent ch unit on table columns takes the writing mode (with a sideways orientation) into account, even though these properties do not apply to that element.
ch-units-vrl-008 = sideways vertical writing mode and ch unit on table column groups
  • The font-metric dependent ch unit on table column groups takes the writing mode (with a sideways orientation) into account, even though theses properties do not apply to that element.
direction-upright-001 = 'text-orientation: upright' forces text to strong LTR in vertical typographic modes
direction-upright-002 = 'text-orientation: upright' forces used 'direction' to LTR in vertical typographic modes
font-default-04 = = = font default features
  • For upright text within vertical text runs, vertical alternates (OpenType feature: vert) must be enabled
ic-unit-002 = the ic unit in vertical orientation
  • In vertical upright, the ic unit is equal to the used vertical advance measure of the 水 (CJK water ideograph, U+6C34) glyph found in the font used to render it.
ic-unit-003 = the ic unit in vertical orientation
  • In vertical mixed, the ic unit is equal to the used vertical advance measure of the 水 (CJK water ideograph, U+6C34) glyph found in the font used to render it.
ic-unit-004 = the ic unit in vertical orientation
  • In vertical sideways, the ic unit is equal to the used horizontal advance measure of the 水 (CJK water ideograph, U+6C34) glyph found in the font used to render it.
mongolian-orientation-001 = orientation of mongolian
  • Mongolian is intrinsicly vertical, mixed and upright text-orientation are expected to be the same.
mongolian-orientation-002 = orientation of mongolian
  • In Mongolian, in horizontal text, glyphs are typeset in a 90° counter-clockwise rotation from their intrisic vertical orientation. text-orientation:sideways causes all text to be typeset sideways, as if in a horizontal layout, but rotated 90° clockwise. text-orientation:mixed causes typographic character units from vertical scripts are typeset with their intrinsic orientation. These two should therefore result in the same thing
table-progression-vlr-003 = vertical-lr upright orientation Table Row/Rowgroup/Cell Ordering
  • This test checks that vertical-lr tables, whether LTR or RTL, order rows/rowgroups left to right and cells top-to-bottom when text-orientation is upright.
table-progression-vlr-004 = vertical-lr upright orientation Table Column/Colgroup Ordering
  • This test checks that vertical-lr tables, whether LTR or RTL, order columns top-to-bottom when text-orientation is upright.
table-progression-vrl-003 = vertical-rl upright orientation Table Row/Rowgroup/Cell Ordering
  • This test checks that vertical-rl tables, whether LTR or RTL, order rows/rowgroups right to left and cells top-to-bottom when text-orientation is upright.
table-progression-vrl-004 = vertical-rl upright orientation Table Column/Colgroup Ordering
  • This test checks that vertical-rl tables, whether LTR or RTL, order columns top-to-bottom when text-orientation is upright.
text-orientation-010 Bitmaps text-orientation - mixed
  • This test checks that 'text-orientation: mixed' causes characters from horizontal-only scripts are set sideways, i.e. rotated 90° clockwise from their standard orientation in horizontal text. Characters from vertical scripts are set according to their intrinsic orientation (Vertical Orientation Property as given by UTR50).
text-orientation-011 text-orientation - upright
  • This test checks that 'text-orientation: upright' causes characters from horizontal-only scripts to be rendered upright, i.e. in their standard horizontal orientation, in vertical writing modes.
text-orientation-012 Bitmaps text-orientation - upright
  • This test checks that 'text-orientation: upright' causes characters from horizontal-only scripts and from vertical scripts to be translated upright.
text-orientation-016 = AhemBitmaps text-orientation - sideways
  • This test checks that sideways-oriented latin text is baseline-aligned alphabetically within the line box and not baseline-aligned centrally. This test uses exclusively 'p' and 'É' glyphs to verify this.
text-orientation-mixed-vlr-100 = writing-mode: vertical-lr; text-orientation: mixed.
text-orientation-mixed-vrl-002 Bitmaps text-orientation - mixed in vertical-rl writing mode
  • This test checks that when 'text-orientation' is set to 'mixed', then latin alphabet characters are displayed sideways (rotated 90 degrees clockwise). In this test, the 'FULLWIDTH LATIN CAPITAL LETTER T' must be typeset upright.
text-orientation-mixed-vrl-100 = writing-mode: vertical-rl; text-orientation: mixed.
text-orientation-parsing-001 DOM/JSScript CSS Writing Modes: parsing text-orientation
  • This test asserts the parser and getComputedStyle works correctly for the text-orientation property.
text-orientation-parsing-sideways-right-001 DOM/JSOptionalScript CSS Writing Modes: parsing text-orientation
  • This test asserts the parser and getComputedStyle works correctly for the text-orientation property.
text-orientation-sideways-001 Bitmaps text-orientation - sideways in vertical-rl writing mode
  • This test checks that general horizontal text (include Japanese,etc) rotates 90 degrees clockwise, and it is verified whether the characters are aligned in the vertical direction.
text-orientation-sideways-vlr-100 = writing-mode: vertical-lr; text-orientation: sideways.
text-orientation-sideways-vrl-100 = writing-mode: vertical-rl; text-orientation: sideways.
text-orientation-upright-directionality-001 = text-orientation:upright in sideways-* writing modes
  • text-orientation has no effect in horizontal typographic modes
text-orientation-upright-vlr-100 = writing-mode: vertical-lr; text-orientation: upright.
text-orientation-upright-vrl-002 Bitmaps text-orientation - upright in vertical-rl writing mode
  • This test checks that latin alphabet characters are translated upright (and not rotated sideways).
text-orientation-upright-vrl-100 = writing-mode: vertical-rl; text-orientation: upright.
text-orientation-computed Script CSS Writing Modes: getComputedStyle().textOrientation
  • text-orientation computed value is as specified.
text-orientation-invalid Script CSS Writing Modes Level 3: parsing text-orientation with invalid values
  • text-orientation supports only the grammar 'mixed | upright | sideways'.
text-orientation-valid Script CSS Writing Modes Level 3: parsing text-orientation with valid values
  • text-orientation supports the full grammar 'mixed | upright | sideways'.
+ 5.1.1 Vertical Typesetting and Font Features
+ 5.1.2 Mixed Vertical Orientations
+ 5.1.3 Obsolete: the SVG1.1 glyph-orientation-vertical property