CSS Text Module Level 3 CR Test Suite

Line Breaking and Word Boundaries (20 tests)

Test Refs Flags Info
+ 5 Line Breaking and Word Boundaries
line-break-normal-021 = Font line-break - normal and iteration marks
  • This test verifies that 'line-break: normal' does not allow line breaking before iteration marks such as IDEOGRAPHIC ITERATION MARK (U+3005) and VERTICAL IDEOGRAPHIC ITERATION MARK (U+3B).
line-break-normal-022 = Font line-break - normal and inseparable characters
  • This test verifies that 'line-break: normal' does not allow line breaking before inseparable characters such as TWO DOT LEADER (U+2025) and HORIZONTAL ELLIPSIS (U+2026).
line-break-normal-023 = Font line-break - normal and centered punctuation marks
  • This test verifies that 'line-break: normal' does not allow line breaking before centered punctuation marks such as COLON (U+003A) and SEMICOLON (U+003B).
line-break-normal-024 = Font line-break - normal and postfixes
  • This test verifies that 'line-break: normal' does not allow line breaking before postfixes such as PERCENT SIGN (U+0025) and CENT SIGN (U+00A2).
line-break-normal-025 = Font line-break - normal and prefixes
  • This test verifies that 'line-break: normal' does not allow line breaking before prefixes such as EURO SIGN (U+20AC) and FULLWIDTH DOLLAR SIGN (U+FF04).
line-break-strict-011 = Font line-break - strict and Japanese small kana
  • This test verifies that 'line-break: strict' does not allow line breaking before Japanese small kana such as 'Japanese small kana a (U+3041)' and 'Japanese small kana i (U+3043)'.
line-break-strict-012 = Font line-break - strict and Katakana-Hiragana prolonged sound marks
  • This test verifies that 'line-break: strict' does not allow line breaking before Katakana-Hiragana prolonged sound marks such as (U+30FC) and (U+FF70).
line-break-strict-013 = Font line-break - strict and hyphens
  • This test verifies that 'line-break: strict' does not allow line breaking before hyphens such as HYPHEN (U+2010) and ENDASH (U+2013).
line-break-strict-014 = Font line-break - strict and iteration marks
  • This test verifies that 'line-break: strict' does not allow line breaking before iteration marks such as IDEOGRAPHIC ITERATION MARK (U+3005) and VERTICAL IDEOGRAPHIC ITERATION MARK (U+3B).
line-break-strict-015 = Font line-break - strict and inseparable characters
  • This test verifies that 'line-break: strict' does not allow line breaking before inseparable characters such as TWO DOT LEADER (U+2025) and HORIZONTAL ELLIPSIS (U+2026).
line-break-strict-016 = Font line-break - strict and centered punctuation marks
  • This test verifies that 'line-break: strict' does not allow line breaking before centered punctuation marks such as COLON (U+003A) and SEMICOLON (U+003B).
line-break-strict-017 = Font line-break - strict and postfixes
  • This test verifies that 'line-break: strict' does not allow line breaking before postfixes such as PERCENT SIGN (U+0025) and CENT SIGN (U+00A2).
line-break-strict-018 = Font line-break - strict and prefixes
  • This test verifies that 'line-break: strict' does not allow line breaking before prefixes such as EURO SIGN (U+20AC) and FULLWIDTH DOLLAR SIGN (U+FF04).
+ 5.1 Line Breaking Details
+ 5.2 Breaking Rules for Punctuation: the ‘line-break’ property
+ 5.3 Breaking Rules for Letters: the ‘word-break’ property
word-break-001 word-break - break-all keyword value
  • Check that 'word-break' with 'break-all' keyword value implies to words break between any two letters without hyphenate.
word-break-002 word-break - normal keyword value
  • Check that 'word-break' with 'normal' keyword value implies to words break after word.
word-break-003 word-break - normal keyword value - single word not break
  • Check that 'word-break' with 'normal' keyword value implies to words break after word, so that a single word won't break.
word-break-004 word-break - normal keyword value - Chinese words break
  • Check that 'word-break' with 'normal' keyword value implies to words break after word, including Chinese words.
word-break-break-all-001 = Font word-break - break-all - basic cases
  • Lines may break between any two grapheme clusters within words.
word-break-keep-all-001 = Font word-break - keep-all - basic cases
  • Block characters can no longer create implied break points.
word-break-normal-001 = Font word-break - normal - basic cases
  • Break lines according to their usual rules.