CSS Writing Modes Module Level 3 CR Test Suite

Inline-level Alignment (30 tests)

Test Refs Flags Info
+ 4 Inline-level Alignment
+ 4.1 Introduction to Baselines
+ 4.2 Text Baselines
central-baseline-alignment-002 = Ahem central baseline-alignment of text with 'text-orientation: upright' (vertical-rl)
  • This test checks that the central baseline is used as the dominant baseline when 'text-orientation' is 'upright' in vertical writing-mode.
central-baseline-alignment-003 = Ahem central baseline-alignment of text with 'text-orientation: upright' (vertical-lr)
  • This test checks that the central baseline is used as the dominant baseline when 'text-orientation' is 'upright' in vertical writing-mode.
text-baseline-vlr-003 = Ahem text baseline alignment - central alignment with vertical layout
  • This test checks the generation of text baseline. When 'writing-mode' is 'vertical-lr' and when 'text-orientation' is 'mixed', then the central baseline is used as the dominant baseline.
text-baseline-vlr-005 = Ahem text baseline alignment - central alignment with vertical layout
  • This test checks the generation of text baseline. When 'writing-mode' is 'vertical-lr' and when 'text-orientation' is 'upright', then the central baseline is used as the dominant baseline.
text-baseline-vlr-007 = Ahem text baseline alignment - alphabetical alignment with vertical layout
  • This test checks the generation of text baseline. When 'writing-mode' is 'vertical-lr' and when 'text-orientation' is 'sideways', then the alphabetical baseline is used as the dominant baseline.
text-baseline-vrl-002 = Ahem text baseline alignment - central alignment with vertical layout
  • This test checks the generation of text baseline. When 'writing-mode' is 'vertical-rl' and when 'text-orientation' is 'mixed', then the central baseline is used as the dominant baseline.
text-baseline-vrl-004 = Ahem text baseline alignment - central alignment with vertical layout
  • This test checks the generation of text baseline. When 'writing-mode' is 'vertical-rl' and when 'text-orientation' is 'upright', then the central baseline is used as the dominant baseline.
text-baseline-vrl-006 = Ahem text baseline alignment - alphabetical alignment with vertical layout
  • This test checks the generation of text baseline. When 'writing-mode' is 'vertical-rl' and when 'text-orientation' is 'sideways', then the alphabetical baseline is used as the dominant baseline.
+ 4.3 Atomic Inline Baselines
baseline-inline-non-replaced-002 = Ahem baseline-alignment of empty non-replaced inline-block element and 'vertical-rl'
  • This test checks that the baseline-alignment of an empty inline-block box in the line box with 'writing-mode' set to 'vertical-rl' is 'central' and not 'alphabetic'.
baseline-inline-non-replaced-003 = Ahem baseline-alignment of empty non-replaced inline-block element and 'vertical-rl'
  • This test checks that the baseline-alignment of an empty inline-block box in the line box with 'writing-mode' set to 'vertical-rl' is 'central' and not 'alphabetic'.
baseline-inline-non-replaced-004 = Ahem baseline-alignment of non-empty non-replaced inline-block element and 'vertical-rl'
  • This test checks that the baseline-alignment of a non-empty inline-block box in the line box with 'writing-mode' set to 'vertical-rl' is 'central' and not 'alphabetic'.
baseline-inline-non-replaced-005 = Ahem baseline-alignment of non-empty non-replaced inline-block element and 'vertical-rl'
  • This test checks that the baseline-alignment of a non-empty inline-block box in the line box with 'writing-mode' set to 'vertical-rl' is 'central' and not 'alphabetic'.
baseline-inline-replaced-002 = AhemBitmaps baseline-alignment of inline replaced element and 'vertical-rl'
  • This test checks that the baseline-alignment of an image in the line box of a block with 'writing-mode' set to 'vertical-rl' is 'central' and not 'alphabetic'.
baseline-inline-replaced-003 = AhemBitmaps baseline-alignment of inline replaced element and 'vertical-lr'
  • This test checks that the baseline-alignment of an image in the line box of a block with 'writing-mode' set to 'vertical-lr' is 'central' and not 'alphabetic'.
inline-block-alignment-002 = Ahem inline-block alignment - central alignment with vertical layout
  • This test checks the generation of inline-block baseline. When 'writing-mode' is 'vertical-rl' and when 'text-orientation' is 'mixed', then the central baseline is used as the dominant baseline.
inline-block-alignment-003 = Ahem inline-block alignment - central alignment with vertical layout
  • This test checks the generation of inline-block baseline. When 'writing-mode' is 'vertical-lr' and when 'text-orientation' is 'mixed', then the central baseline is used as the dominant baseline.
inline-block-alignment-004 = Ahem inline-block alignment - central alignment with vertical layout
  • This test checks the generation of inline-block baseline. When 'writing-mode' is 'vertical-rl' and when 'text-orientation' is 'upright', then the central baseline is used as the dominant baseline.
inline-block-alignment-005 = Ahem inline-block alignment - central alignment with vertical layout
  • This test checks the generation of inline-block baseline. When 'writing-mode' is 'vertical-lr' and when 'text-orientation' is 'upright', then the central baseline is used as the dominant baseline.
inline-block-alignment-006 = Ahem inline block alignment - alphabetical alignment with vertical layout
  • This test checks the generation of inline-block baseline. When 'writing-mode' is 'vertical-rl' and when 'text-orientation' is 'sideways', then the alphabetical baseline is used as the dominant baseline.
inline-block-alignment-007 = Ahem inline block alignment - alphabetical alignment with vertical layout
  • This test checks the generation of inline-block baseline. When 'writing-mode' is 'vertical-lr' and when 'text-orientation' is 'sideways', then the alphabetical baseline is used as the dominant baseline.
inline-block-alignment-orthogonal-vlr-003 = Ahem text baseline alignment of inline-block in orthogonal flow
  • This test checks the generation of text baseline. When 'writing-mode' of the containing block of an inline-block in orthogonal flow is 'horizontal-tb', then the dominant baseline used is the alphabetical baseline. In this test, the inline-block should be 'sitting' on the alphabetical baseline, therefore creating a straight and unbroken bottom edge.
inline-block-alignment-orthogonal-vlr-005 = Ahem text baseline alignment of inline-block in orthogonal flow
  • This test checks the generation of text baseline. When 'writing-mode' of the containing block of an inline-block in orthogonal flow is 'horizontal-tb', then the dominant baseline used is the alphabetical baseline. In this test, the inline-block should be 'sitting' on the alphabetical baseline, therefore creating a straight and unbroken bottom edge.
inline-block-alignment-orthogonal-vrl-002 = Ahem text baseline alignment of inline-block in orthogonal flow
  • This test checks the generation of text baseline. When 'writing-mode' of the containing block of an inline-block in orthogonal flow is 'horizontal-tb', then the dominant baseline used is the alphabetical baseline. In this test, the inline-block should be 'sitting' on the alphabetical baseline, therefore creating a straight and unbroken bottom edge.
inline-block-alignment-orthogonal-vrl-004 = Ahem text baseline alignment of inline-block in orthogonal flow
  • This test checks the generation of text baseline. When 'writing-mode' of the containing block of an inline-block in orthogonal flow is 'horizontal-tb', then the dominant baseline used is the alphabetical baseline. In this test, the inline-block should be 'sitting' on the alphabetical baseline, therefore creating a straight and unbroken bottom edge.
inline-replaced-vlr-005 = AhemBitmaps inline replaced element and 'vertical-lr' (advanced)
  • This test checks that, while the content of inline replaced elements do not rotate in vertical writing mode, they are nevertheless laid out from top to bottom (inline base direction) in a line box and their baseline-alignment is central (not alphabetic) and then the following lines boxes (line box direction within a block container) are ordered from left to right.
inline-replaced-vrl-004 = AhemBitmaps inline replaced element and 'vertical-rl' (advanced)
  • This test checks that, while the content of inline replaced elements do not rotate in vertical writing mode, they are nevertheless laid out from top to bottom (inline base direction) in a line box and their baseline-alignment is central (not alphabetic) and then the following lines boxes (line box direction within a block container) are ordered from right to left.
inline-table-alignment-002 = Ahem inline-table alignment - central alignment with vertical layout
  • This test checks the generation of inline-table baseline. When 'writing-mode' is 'vertical-rl' and when 'text-orientation' is 'mixed', then the central baseline is used as the dominant baseline.
inline-table-alignment-003 = Ahem inline-table alignment - central alignment with vertical layout
  • This test checks the generation of inline-table baseline. When 'writing-mode' is 'vertical-lr' and when 'text-orientation' is 'mixed', then the central baseline is used as the dominant baseline.
inline-table-alignment-004 = Ahem inline-table alignment - central alignment with vertical layout
  • This test checks the generation of inline-table baseline. When 'writing-mode' is 'vertical-rl' and when 'text-orientation' is 'upright', then the central baseline is used as the dominant baseline.
inline-table-alignment-005 = Ahem inline-table alignment - central alignment with vertical layout
  • This test checks the generation of inline-table baseline. When 'writing-mode' is 'vertical-lr' and when 'text-orientation' is 'upright', then the central baseline is used as the dominant baseline.
+ 4.4 Baseline Alignment