CSS Text Module Level 3 CR Test Suite

White Space and Wrapping: the white-space property (244 tests)

Test Refs Flags Info
+ 3 White Space and Wrapping: the white-space property
break-spaces-003 = Ahem white-space: break-spaces
  • break-word + break-spaces do not allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are other wrapping opportunities earlier in the line.
break-spaces-004 = Ahem white-space: break-spaces
  • The word is not broken if there are previous breaking opportunities, honoring the 'white-space: break-spaces' value.
break-spaces-005 = Ahem white-space - break-spaces
  • If 'white-space' is set to 'break-spaces', collapsing preserved white-spaces' advance width is not allowed, so that they can be wrapped honoring the 'white-space' propery.
break-spaces-006 = Ahem white-space - break-spaces
  • White spaces are preserved, honoring the 'white-space: break-spaces', but the words are broken, honring the 'word-beak: break-all' even though there are previous breaking opportunities in the white-spaces.
break-spaces-007 = Ahem white-space - break-spaces
  • A single leading white-space should be used, honoring white-space: break-spaces, to avoid overflow; however, a single preserved white-space at the end of the line cannot be wrapped, hence it overflows when breaking after it to move the rest of the text to the next line.
break-spaces-008 = Ahem white-space - break-spaces
  • White spaces are preserved, honoring the 'white-space: break-spaces', which may lead to overfow. However, we can break before the las letter in the word honoring the 'break-all' value.
break-spaces-009 = Ahem word-break:break-word + white-space:break-spaces
  • break-word + break-spaces do allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are no other wrapping opportunities earlier in the line
break-spaces-010 = Ahem white-space: break-spaces
  • break-spaces only allows breaking after a white space, hence, a preserved white space may overflow.
break-spaces-before-first-char-001 = Ahem white-space - break-spaces
  • A breaking opportunity exists only after a preserved white space character.
break-spaces-before-first-char-002 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the overflow-wrap property, except when there are previous breaking opportunities.
break-spaces-before-first-char-003 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the overflow-wrap property, except when there are previous breaking opportunities.
break-spaces-before-first-char-004 = Ahem white-space - break-spaces
  • A breaking opportunity exists only after a preserved white space character, but it's possible to avoid the overflow honoring the 'word-break' property.
break-spaces-before-first-char-005 = Ahem white-space - break-spaces
  • A breaking opportunity exists only after a preserved white space character, but it's possible to avoid the overflow honoring the 'word-break' property, hence the overflow-wrap property is not applied.
break-spaces-before-first-char-006 = Ahem white-space - break-spaces
  • A breaking opportunity exists only after a preserved white space character, but it's possible to avoid the overflow honoring the 'word-break' property, hence the overflow-wrap property is not applied.
break-spaces-before-first-char-007 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the 'line-break' property.
break-spaces-before-first-char-008 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-char-009 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-char-010 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-char-011 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-char-012 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the overflow-wrap property.
break-spaces-before-first-char-013 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the overflow-wrap property.
break-spaces-before-first-char-014 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the overflow-wrap property, except when there are previous breaking opportunities.
break-spaces-before-first-char-015 = Ahem white-space - break-spaces
  • A breaking opportunity exists only after a preserved white space character, but it's possible to avoid the overflow honoring the 'word-break' property, hence the 'overflow-wrap' property is not applied.
break-spaces-before-first-char-016 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-char-017 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-char-018 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the overflow-wrap property.
break-spaces-before-first-ideographic-char-001 = Ahem white-space: break-spaces
  • A breaking opportunity exists only after a ideographic space character.
break-spaces-before-first-ideographic-char-002 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the overflow-wrap property, except when there are previous breaking opportunities.
break-spaces-before-first-ideographic-char-003 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the overflow-wrap property, except when there are previous breaking opportunities.
break-spaces-before-first-ideographic-char-004 = Ahem white-space: break-spaces
  • A breaking opportunity exists only after a ideographic space character, but it's possible to avoid the overflow honoring the 'word-break' property.
break-spaces-before-first-ideographic-char-005 = Ahem white-space: break-spaces
  • A breaking opportunity exists only after a ideographic space character, but it's possible to avoid the overflow honoring the 'word-break' property, hence the overflow-wrap property is not applied.
break-spaces-before-first-ideographic-char-006 = Ahem white-space: break-spaces
  • A breaking opportunity exists only after a ideographic space character, but it's possible to avoid the overflow honoring the 'word-break' property, hence the overflow-wrap property is not applied.
break-spaces-before-first-ideographic-char-007 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the 'line-break' property.
break-spaces-before-first-ideographic-char-008 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-ideographic-char-009 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-ideographic-char-010 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-ideographic-char-011 = Ahem ideographic space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-ideographic-char-012 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the overflow-wrap property.
break-spaces-before-first-ideographic-char-013 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the overflow-wrap property.
break-spaces-before-first-ideographic-char-014 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the overflow-wrap property, except when there are previous breaking opportunities.
break-spaces-before-first-ideographic-char-015 = Ahem white-space: break-spaces
  • A breaking opportunity exists only after a ideographic space character, but it's possible to avoid the overflow honoring the 'word-break' property, hence the 'overflow-wrap' property is not applied.
break-spaces-before-first-ideographic-char-016 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-ideographic-char-017 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-ideographic-char-018 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the overflow-wrap property.
break-spaces-newline-011 = CSS Text: 'white-space: break-spaces' with 4 white spaces and 4 line feeda
break-spaces-newline-012 = CSS Text: 'white-space: break-spaces', 10 white spaces and 1 line feed
break-spaces-newline-013 = CSS Text: 'white-space: break-spaces', 7 white spaces and 2 line feeds
break-spaces-newline-014 = CSS Text: 'white-space: break-spaces', 4 white spaces and 3 line feeds
break-spaces-newline-015 = CSS Text: 'white-space: break-spaces', 3 white spaces and 3 line feeds
break-spaces-newline-016 = CSS Text: 'white-space: break-spaces' and 4 consecutive line feeds
break-spaces-with-ideographic-space-002 = Ahem white-space: break-spaces
  • break-word + break-spaces do not allow a break between the last character of a word and the first space of a sequence of ideographic spaces if there are other wrapping opportunities earlier in the line.
break-spaces-with-ideographic-space-003 = Ahem white-space: break-spaces
  • break-word + break-spaces do not allow a break between the last character of a word and the first space of a sequence of ideographic spaces if there are other wrapping opportunities earlier in the line.
break-spaces-with-ideographic-space-004 = Ahem white-space: break-spaces
  • The word is not broken if there are previous breaking opportunities, honoring the 'white-space: break-spaces' value.
break-spaces-with-ideographic-space-005 = Ahem white-space: break-spaces
  • If 'white-space' is set to 'break-spaces', collapsing preserved white-spaces' advance width is not allowed, so that they can be wrapped honoring the 'white-space' propery.
break-spaces-with-ideographic-space-006 = Ahem white-space: break-spaces
  • Ideographic spaces can be wrapped, honoring the 'white-space: break-spaces', but the words are broken, honring the 'word-beak: break-all' even though there are previous breaking opportunities in the white-spaces.
break-spaces-with-ideographic-space-007 = Ahem white-space: break-spaces
  • A single leading ideographic space should be used as breaking opportunity, honoring white-space: break-spaces, to avoid overflow; however, a single ideographic space at the end of the line cannot be wrapped, hence it overflows when breaking after it to move the rest of the text to the next line.
break-spaces-with-ideographic-space-008 = Ahem white-space: break-spaces
  • Ideographic spaces can be wrapped, honoring the 'white-space: break-spaces', which may lead to overfow. However, we can break before the las letter in the word honoring the 'break-all' value.
break-spaces-with-ideographic-space-009 = Ahem word-break:break-word + white-space:break-spaces
  • break-word + break-spaces do allow a break between the last character of a word and the first space of a sequence of ideographic spaces if there are no other wrapping opportunities earlier in the line
break-spaces-with-ideographic-space-010 = Ahem white-space: break-spaces
  • break-spaces only allows breaking after an ideographic space, hence, it may overflow.
break-spaces-with-overflow-wrap-001 = Ahem white-space: break-spaces and Overflow Wrapping
  • break-word + break-spaces do not allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are other wrapping opportunities earlier in the line.
break-spaces-with-overflow-wrap-002 = Ahem white-space: break-spaces and Overflow Wrapping
  • anywhere + break-spaces do not allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are other wrapping opportunities earlier in the line.
break-spaces-with-overflow-wrap-003 = Ahem white-space: break-spaces and Overflow Wrapping
  • The word is not broken if there are previous breaking opportunities, honoring the 'white-space: break-spaces' value.
break-spaces-with-overflow-wrap-004 = Ahem white-space: break-spaces and Overflow Wrapping
  • The word is not broken if there are previous breaking opportunities, honoring the 'white-space: break-spaces' value.
break-spaces-with-overflow-wrap-005 = Ahem white-space: break-spaces and Overflow Wrapping
  • White spaces are preserved, honoring the 'white-space: break-spaces', and the words aren't broken honring the 'overflow-wrap: break-word'.
break-spaces-with-overflow-wrap-006 = Ahem white-space: break-spaces and Overflow Wrapping
  • White spaces are preserved, honoring the 'white-space: break-spaces', and the words aren't broken honring the 'overflow-wrap: break-word'.
break-spaces-with-overflow-wrap-007 = Ahem white-space: break-spaces and Overflow Wrapping
  • White spaces are preserved, honoring the 'white-space: break-spaces', but we can break before the first space after a word honoring 'overflow-wrap: break-word'.
break-spaces-with-overflow-wrap-008 = Ahem white-space - break-spaces
  • White spaces are preserved, honoring the 'white-space: break-spaces', but we can break before the first space after a word honoring 'overflow-wrap: anywhere'.
break-spaces-with-overflow-wrap-009 = Ahem word-break:break-word + white-space:break-spaces
  • break-word + break-spaces do allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are no other wrapping opportunities earlier in the line
break-spaces-with-overflow-wrap-010 = Ahem word-break:break-word + white-space:break-spaces
  • anywhere + break-spaces do allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are no other wrapping opportunities earlier in the line
c562-white-sp-000 = AhemBitmaps white-space
line-break-anywhere-005 = line-break: anywhere
  • line-break: anywhere + break-spaces do allow a break between the last character of a word and the first space of a sequence of preserved spaces even if there is a previous breaking opportunity
line-break-anywhere-008 = line-break: anywhere
  • break-all breaks between the last two letters, because breaking opportunities between the punctuaction characters are forbidden.
line-break-anywhere-009 = line-break: anywhere
  • line-break: anywhere' disgregard the prohibition against line breaks introduced by characters with the GL character class
line-break-anywhere-010 = line-break: anywhere
  • line-break: anywhere' disgregard the prohibition against line breaks introduced by characters with the GL character class
line-break-anywhere-and-white-space-001 = line-break: anywhere and the white-space property
  • 'line-break: anywhere' can't prevent overflow under 'white-space: pre', because it line wrapping is not allowed.
line-break-anywhere-and-white-space-002 = line-break: anywhere and the white-space property
  • 'line-break: anywhere' can't prevent overflow under 'white-space: nowrap', because it line wrapping is not allowed.
line-break-anywhere-and-white-space-003 = line-break: anywhere and the white-space property
  • 'line-break: anywhere' can't prevent overflow under 'white-space: pre', because it line wrapping is not allowed.
line-break-anywhere-and-white-space-004 = line-break: anywhere and the white-space property
  • The line is wrapped ignoring the white space, which will be removed honoring 'white-space: normal'
line-break-anywhere-and-white-space-005 = line-break: anywhere and the white-space property
  • The line is wrapped ignoring the white space, which will be removed honoring 'white-space: normal'
line-break-anywhere-and-white-space-006 = line-break: anywhere and the white-space property
  • 'line-break: anywhere' can't break a preserved sequence of spaces under 'white-spate: pre-wrap', which should hang instead.
line-break-anywhere-and-white-space-007 = line-break: anywhere and the white-space property
  • 'line-break: anywhere' can't break before the first white-space affter a word under 'white-spate: pre-wrap', which should hang instead.
line-break-anywhere-and-white-space-008 = line-break: anywhere and the white-space property
  • 'line-break: anywhere' allows preserved white spaces at the end of the line, honoring 'white-space: break-spaces'.
line-break-anywhere-and-white-space-009 = line-break: anywhere and the white-space property
  • 'line-break: anywhere' allows breaking before the first character of a preserved white space sequence, honoring 'white-space: break-spaces'.
line-breaking-012 = CSS Text — line breaking for nowrap and floats
  • When whitespace: nowrap is specified, floats should not cause line breaks
overflow-wrap-anywhere-008 = Ahem overflow-wrap - anywhere and white-space - nowrap
  • Test checks that the 'overflow-wrap' property has effect if and only if the 'white-space' allows wrapping
overflow-wrap-break-word-008 = Ahem overflow-wrap:break-word + white-space:break-spaces
  • break-word + break-spaces do allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are no other wrapping opportunities earlier in the line
pre-float-001 = CSS test preserved spaces and floats interaction
pre-wrap-009 = Ahem white-space: pre-wrap
  • The word is not broken despite the 'word-break: break-word' if there are previous breaking opportunities, honoring the white-space: pre-wrap value.
pre-wrap-010 = Ahem white-space: pre-wrap
  • The word is not broken if there are previous breaking opportunities, honoring the white-space: pre-wrap value.
pre-wrap-float-001 = CSS test preserved spaces and floats interaction
pre-wrap-leading-spaces-001 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Preserved white space at the beginning of the line are breaking opportunities when white-space is pre-wrap.
pre-wrap-leading-spaces-002 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should be breaking opportunities when white-space is pre-wrap.
pre-wrap-leading-spaces-003 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should be breaking opportunities when white-space is pre-wrap.
pre-wrap-leading-spaces-004 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-005 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-006 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-007 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-008 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-009 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-010 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-011 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-012 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should be breaking opportunities when white-space is pre-wrap.
pre-wrap-leading-spaces-013 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should be breaking opportunities when white-space is pre-wrap.
pre-wrap-leading-spaces-014 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should be breaking opportunities when white-space is pre-wrap.
pre-wrap-leading-spaces-015 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Empty line with preserved white spaces must account for box sizing.
pre-wrap-leading-spaces-016 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Empty line with preserved white spaces must account for box sizing.
pre-wrap-leading-spaces-017 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Empty line with preserved white spaces must account fpor box sizing.
text-align-white-space-002 = Ahem Text-align set to 'justify' with 'white-space' set to 'pre-line'
  • Setting 'text-align' to 'justify' and 'white-space' to 'pre-line', 'text-align' remains 'justified'.
text-align-white-space-004 = Ahem Text-align set to 'justify' with 'white-space' set to 'nowrap'
  • Setting 'text-align' to 'justify' and 'white-space' to 'nowrap', text-align is computed to 'justify'.
text-align-white-space-006 = Ahem Text-align set to 'justify' with 'white-space' set to 'pre-line' and 'direction' set to 'rtl'
  • Setting 'text-align' to 'justify' and 'white-space' to 'pre-line', 'text-align' remains 'justified'.
text-align-white-space-008 = Ahem Text-align set to 'justify' with 'white-space' set to 'nowrap' and 'direction' set to 'rtl'
  • Setting 'text-align' to 'justify' and 'white-space' to 'nowrap', text-align is computed to 'justify'.
trailing-ideographic-space-011 = = handling leading ideographic space sequence
  • Trailing ideographic spaces should hang.
trailing-ideographic-space-012 = = handling leading ideographic space sequence
  • Trailing ideographic spaces should hang.
trailing-ideographic-space-013 = = handling leading ideographic space sequence
  • Trailing ideographic spaces should hang, despite the use of overflow-wrap: break-word.
trailing-ideographic-space-014 = = handling leading ideographic space sequence
  • Trailing ideographic spaces should hang, despite the use of overflow-wrap: anywhere.
trailing-ideographic-space-015 = = handling leading ideographic space sequence
  • Trailing ideographic spaces should hang, despite the use of overflow-wrap: anywhere.
trailing-ideographic-space-016 = = handling leading ideographic space sequence
  • Trailing ideographic spaces should hang, despite the use of overflow-wrap: break-word.
trailing-space-with-cr-crash
white-space-006 = Ahem White-space set to 'inherit'
  • The 'white-space' property set to 'inherit' causes the element to use its parent's white-space value.
white-space-applies-to-001 = Ahem White-space application to 'display: inline' element
  • The 'white-space' property applies to 'display: inline' elements.
white-space-applies-to-002 = Ahem White-space application to 'display: block' element
  • The 'white-space' property applies to 'display: block' elements.
white-space-applies-to-003 = Ahem White-space application to 'display: list-item' element
  • The 'white-space' property applies to display: list-item elements.
white-space-applies-to-005 = Ahem White-space application to 'display: inline-block' element
  • The 'white-space' property applies to 'display: inline-block' elements.
white-space-applies-to-006 = Ahem White-space application to 'display: table' element
  • The 'white-space' property applies to 'display: table' elements.
white-space-applies-to-007 = Ahem White-space application to 'display: inline-table' element
  • The 'white-space' property applies to 'display: inline-table' elements.
white-space-applies-to-008 = Ahem White-space application to 'display: table-row-group' element
  • The 'white-space' property applies to 'display: table-row-group' elements.
white-space-applies-to-009 = Ahem White-space application to 'display: table-header-group' element
  • The 'white-space' property applies to 'display: table-header-group' elements.
white-space-applies-to-010 = Ahem White-space application to 'display: table-footer-group' element
  • The 'white-space' property applies to 'display: table-footer-group' elements.
white-space-applies-to-011 = Ahem White-space application to 'display: table-row' element
  • The 'white-space' property applies to 'display: table-row' elements.
white-space-applies-to-012 = Ahem White-space application to 'display: table-column-group' element
  • The 'white-space' property is not applied to 'display: table-column-group' elements.
white-space-applies-to-013 = Ahem White-space application to 'display: table-column' element
  • The 'white-space' property is not applied to 'display: table-column' elements.
white-space-applies-to-014 = Ahem White-space application to 'display: table-cell' element
  • The 'white-space' property applies to 'display: table-cell' elements.
white-space-applies-to-015 = Ahem White-space application to 'display: table-caption' element
  • The 'white-space' property applies to 'display: table-caption' elements.
white-space-intrinsic-size-013 = min-content sizing and 'white-space: pre-wrap'
  • When 'white-space' is 'pre-wrap', white spaces at the end of the line are preserved. In this test, the overflowing end-of-line white spaces following the 'A', the 'GH', the 'MNO' and the 'WXYZ' conditionally 'hang' while they do not affect the intrinsic min-content size.
white-space-intrinsic-size-014 = min-content sizing and 'white-space: pre-wrap'
  • When 'white-space' is 'pre-wrap', white spaces at the end of the line are preserved. In this test, the 4 overflowing white spaces following the 'ABCD', following the 'GHIJ', following the 'MNOP' and following the 'WXYZ' conditionally 'hang' while they do not affect the intrinsic min-content size.
white-space-intrinsic-size-015 = min-content sizing and 'white-space: pre'
  • When 'white-space' is 'pre', preserved white spaces at the end of the line affect the intrinsic min-content size.
white-space-intrinsic-size-016 = min-content sizing and 'white-space: pre'
  • When 'white-space' is 'pre', preserved white spaces at the end of the line affect the intrinsic min-content size. Overflow-wrap makes no difference.
white-space-intrinsic-size-017 = max-content sizing and 'white-space: pre-wrap'
  • When 'white-space' is 'pre-wrap', preserved white spaces at the beginning and at the end of the line affect the intrinsic max-content size.
white-space-intrinsic-size-018 = max-content sizing and 'white-space: pre'
  • When 'white-space' is 'pre', preserved white spaces at the beginning and at the end of the line affect the intrinsic max-content size.
white-space-intrinsic-size-019 = min-content sizing and 'white-space: pre-line'
  • When 'white-space' is 'pre-line', sequence of white spaces are collapsed into 1 white space, the tabs are converted into a single white space and then the white spaces at the end of the line are removed.
white-space-intrinsic-size-020 = min-content sizing and 'white-space: pre-line'
  • When 'white-space' is 'pre-line', sequence of white spaces are collapsed into 1 white space, the tabs are converted into a single white space and then the white spaces at the end of the line are removed.
white-space-mixed-001 = Ahem white-space: mixed tests
white-space-mixed-003 = Ahem white-space: mixed tests (simple)
white-space-normal-009 = Ahem white-space normal: zero width non-breaking space
white-space-normal-011 = CSS Text: 'white-space: normal' (basic)
white-space-nowrap-001 = Ahem white-space nowrap: basic test
white-space-nowrap-011 = CSS Text: 'white-space: nowrap' (basic)
white-space-nowrap-attribute-001 = White-space 'nowrap' vs. 'nowrap' attribute
  • The 'nowrap' attribute and 'white-space: nowrap' assignment behave the same way with respect to white space.
white-space-p-element-001 = White-space 'normal' vs. 'p' element
  • The 'p' element and 'white-space: normal' assignment behave the same way with respect to white space.
white-space-pre-001 = Ahem white-space pre: simple tests
white-space-pre-011 = CSS Text: 'white-space: pre' (basic)
white-space-pre-031 = CSS Text: wrappable ('normal') inline inside a 'white-space: pre' block
white-space-pre-032 = CSS Text: wrappable ('pre-wrap') inline inside a 'white-space: pre' block
white-space-pre-034 = CSS Text: wrappable ('break-spaces') inline inside a 'white-space: pre' block
white-space-pre-035 = CSS Text: wrappable ('pre-line') inline inside a 'white-space: pre' block
white-space-pre-element-001 = White-space 'pre' vs. 'pre' element
  • The 'pre' element and 'white-space: pre' assignment behave the same way with respect to white space.
white-space-pre-wrap-trailing-spaces-004 = = hanging trailing spaces with white-space:pre-wrap
  • Preserved white space at the end of a soft-wrapped line is hanged when white-space is pre-wrap.
white-space-pre-wrap-trailing-spaces-005 = hanging trailing spaces with white-space:pre-wrap
  • Preserved white space at the end of a soft-wrapped line is hanged when white-space is pre-wrap.
white-space-pre-wrap-trailing-spaces-006 = hanging trailing spaces with white-space:pre-wrap
  • Preserved white space at the end of a soft-wrapped line is hanged when white-space is pre-wrap.
white-space-pre-wrap-trailing-spaces-007 = hanging trailing spaces with white-space:pre-wrap
  • Preserved white space at the end of a soft-wrapped line is hanged when white-space is pre-wrap.
white-space-pre-wrap-trailing-spaces-008 = hanging trailing spaces with white-space:pre-wrap
  • Preserved white space at the end of a soft-wrapped line is hanged when white-space is pre-wrap.
white-space-pre-wrap-trailing-spaces-010 = hanging trailing spaces with white-space:pre-wrap
  • Preserved white space at the end of a soft-wrapped line is hanged when white-space is pre-wrap.
white-space-pre-wrap-trailing-spaces-011 = hanging trailing spaces with white-space:pre-wrap
  • Preserved white space at the end of a soft-wrapped line is hanged when white-space is pre-wrap.
white-space-pre-wrap-trailing-spaces-012 = = hanging trailing spaces with white-space:pre-wrap
  • Previous breaking opportunities are not considered if the overflow is caused by hanging trailing spaces.
white-space-pre-wrap-trailing-spaces-013 = = hanging trailing spaces with white-space:pre-wrap
  • Previous breaking opportunities are not considered if the overflow is caused by hanging trailing spaces.
white-space-pre-wrap-trailing-spaces-014 = = hanging trailing spaces with white-space:pre-wrap
  • Previous breaking opportunities are not considered if the overflow is caused by hanging trailing spaces.
white-space-pre-wrap-trailing-spaces-015 = = hanging trailing spaces with white-space:pre-wrap
  • Previous breaking opportunities are not considered if the overflow is caused by hanging trailing spaces.
white-space-wrap-after-nowrap-001 = Break opportunities after nowrap
  • This test ensures that break opportunities after nowrap can break lines.
white-space-zero-fontsize-001 = preserved white space with zero font-size
  • Forced line break in preserved white space is respected even when font-size is zero
white-space-zero-fontsize-002 = preserved white space with zero font-size
  • Tab in preserved white space is respected even when font-size is zero
word-break-break-all-017 = Ahem word-break: break-all
  • break-all + break-spaces do not allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are other wrapping opportunities earlier in the line.
word-break-break-all-019 = word-break: break-all
  • break-all breaks between the last two letters, because breaking opportunities between the punctuaction characters are forbidden.
word-break-break-all-021 = word-break: break-all
  • word-break: break-all' must honor line breaking behavior introduced by characters with the GL character class
word-break-break-all-022 = word-break: break-all
  • word-break: break-all' must honor line breaking behavior introduced by characters with the GL character class
ws-break-spaces-applies-to-001 = 'white-space: break-spaces' applies to 'display: inline' element
  • When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: inline' is tested.
ws-break-spaces-applies-to-002 = 'white-space: break-spaces' applies to 'display: block' element
  • When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: block' is tested.
ws-break-spaces-applies-to-003 = 'white-space: break-spaces' applies to 'display: list-item' element
  • When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: list-item' is tested.
ws-break-spaces-applies-to-005 = 'white-space: break-spaces' applies to 'display: inline-block' element
  • When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: inline-block' is tested.
ws-break-spaces-applies-to-006 = 'white-space: break-spaces' applies to 'display: table' element
  • When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: table' is tested.
ws-break-spaces-applies-to-007 = 'white-space: break-spaces' applies to 'display: inline-table' element
  • When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: inline-table' is tested.
ws-break-spaces-applies-to-008 = 'white-space: break-spaces' applies to 'display: table-row-group' element
  • When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: table-row-group' is tested.
ws-break-spaces-applies-to-009 = 'white-space: break-spaces' applies to 'display: table-header-group' element
  • When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: table-header-group' is tested.
ws-break-spaces-applies-to-010 = 'white-space: break-spaces' applies to 'display: table-footer-group' element
  • When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: table-footer-group' is tested.
ws-break-spaces-applies-to-011 = 'white-space: break-spaces' applies to 'display: table-row' element
  • When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: table-row' is tested.
ws-break-spaces-applies-to-012 = 'white-space: break-spaces' does not apply to 'display: table-column-group' element
  • In this test, we verify that 'white-space: break-spaces' does not apply to element with 'display: table-column-group'.
ws-break-spaces-applies-to-013 = 'white-space: break-spaces' does not apply to 'display: table-column' element
  • In this test, we verify that 'white-space: break-spaces' does not apply to element with 'display: table-column'.
ws-break-spaces-applies-to-014 = 'white-space: break-spaces' applies to 'display: table-cell' element
  • When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: table-cell' is tested.
ws-break-spaces-applies-to-015 = 'white-space: break-spaces' applies to 'display: table-caption' element
  • When 'white-space' is 'break-spaces', then new lines, sequence of white spaces and tabs are preserved and text can wrap, just like pre-wrap, but sequence of preserved white space always takes up space, including at the end of the line and line breaking opportunity exists after every preserved white space character, including between white space characters. In this test, 'display: table-caption' is tested.
trailing-space-in-inline-box Script Preserved trailing spaces in inline boxes should hang
white-space-computed Script CSS Text: getComputedStyle().whiteSpace
  • white-space computed value is specified keyword.
white-space-intrinsic-size-001 = min-content sizing and white-space: break-spaces
  • When white-space is break-spaces, preserved spaces at the end of the line do affect the intrinsic min-content size. Overflow-wrap makes no difference.
white-space-intrinsic-size-002 = max-content sizing and white-space:break-spaces
  • If white-space is break-spaces, preserved spaces at the end of the line do affect the intrinsic max-content size. The value of overflow-wrap makes no difference.
white-space-intrinsic-size-003 = min-content sizing and white-space:pre-wrap
  • Preserved spaces at the end of the line do not affect the intrinsic min-content size when white-space is pre-wrap. The value of overflow-wrap makes no difference.
white-space-intrinsic-size-004 = max-content sizing and white-space: pre-wrap
  • Preserved spaces at the end of the line do affect the intrinsic max-content size when white-space is pre-wrap, as spaces before a forced break, at the end of un unwrapped line, only hanging conditionally, which does not prevent contributing to the max-content size. The value of overflow-wrap makes no difference.
white-space-invalid Script parsing white-space with invalid values
  • white-space supports only the grammar 'normal | pre | nowrap | pre-wrap | break-spaces | pre-line'.
white-space-valid Script parsing white-space with valid values
  • white-space supports the full grammar 'normal | pre | nowrap | pre-wrap | break-spaces | pre-line'.
break-spaces-001 = preserved white space at the end of line and white-space is break-spaces
  • preserved white space at the end of the line is wrapped when the white-space property is set to break-spaces.
break-spaces-002 = single preserved white space at the end of line with white-space:break-spaces
  • a single preserved white space at the end of the line is not wrapped when the white-space property is set to break-spaces.
break-spaces-003 = Ahem white-space: break-spaces
  • break-word + break-spaces do not allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are other wrapping opportunities earlier in the line.
break-spaces-004 = Ahem white-space: break-spaces
  • The word is not broken if there are previous breaking opportunities, honoring the 'white-space: break-spaces' value.
break-spaces-005 = Ahem white-space - break-spaces
  • If 'white-space' is set to 'break-spaces', collapsing preserved white-spaces' advance width is not allowed, so that they can be wrapped honoring the 'white-space' propery.
break-spaces-006 = Ahem white-space - break-spaces
  • White spaces are preserved, honoring the 'white-space: break-spaces', but the words are broken, honring the 'word-beak: break-all' even though there are previous breaking opportunities in the white-spaces.
break-spaces-007 = Ahem white-space - break-spaces
  • A single leading white-space should be used, honoring white-space: break-spaces, to avoid overflow; however, a single preserved white-space at the end of the line cannot be wrapped, hence it overflows when breaking after it to move the rest of the text to the next line.
break-spaces-008 = Ahem white-space - break-spaces
  • White spaces are preserved, honoring the 'white-space: break-spaces', which may lead to overfow. However, we can break before the las letter in the word honoring the 'break-all' value.
break-spaces-009 = Ahem word-break:break-word + white-space:break-spaces
  • break-word + break-spaces do allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are no other wrapping opportunities earlier in the line
break-spaces-010 = Ahem white-space: break-spaces
  • break-spaces only allows breaking after a white space, hence, a preserved white space may overflow.
break-spaces-before-first-char-001 = Ahem white-space - break-spaces
  • A breaking opportunity exists only after a preserved white space character.
break-spaces-before-first-char-002 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the overflow-wrap property, except when there are previous breaking opportunities.
break-spaces-before-first-char-003 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the overflow-wrap property, except when there are previous breaking opportunities.
break-spaces-before-first-char-004 = Ahem white-space - break-spaces
  • A breaking opportunity exists only after a preserved white space character, but it's possible to avoid the overflow honoring the 'word-break' property.
break-spaces-before-first-char-005 = Ahem white-space - break-spaces
  • A breaking opportunity exists only after a preserved white space character, but it's possible to avoid the overflow honoring the 'word-break' property, hence the overflow-wrap property is not applied.
break-spaces-before-first-char-006 = Ahem white-space - break-spaces
  • A breaking opportunity exists only after a preserved white space character, but it's possible to avoid the overflow honoring the 'word-break' property, hence the overflow-wrap property is not applied.
break-spaces-before-first-char-007 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the 'line-break' property.
break-spaces-before-first-char-008 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-char-009 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-char-010 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-char-011 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-char-012 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the overflow-wrap property.
break-spaces-before-first-char-013 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the overflow-wrap property.
break-spaces-before-first-char-014 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the overflow-wrap property, except when there are previous breaking opportunities.
break-spaces-before-first-char-015 = Ahem white-space - break-spaces
  • A breaking opportunity exists only after a preserved white space character, but it's possible to avoid the overflow honoring the 'word-break' property, hence the 'overflow-wrap' property is not applied.
break-spaces-before-first-char-016 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-char-017 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-char-018 = Ahem white-space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of preserved white spaces to avoid the line overflow, honoring the overflow-wrap property.
break-spaces-before-first-ideographic-char-001 = Ahem white-space: break-spaces
  • A breaking opportunity exists only after a ideographic space character.
break-spaces-before-first-ideographic-char-002 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the overflow-wrap property, except when there are previous breaking opportunities.
break-spaces-before-first-ideographic-char-003 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the overflow-wrap property, except when there are previous breaking opportunities.
break-spaces-before-first-ideographic-char-004 = Ahem white-space: break-spaces
  • A breaking opportunity exists only after a ideographic space character, but it's possible to avoid the overflow honoring the 'word-break' property.
break-spaces-before-first-ideographic-char-005 = Ahem white-space: break-spaces
  • A breaking opportunity exists only after a ideographic space character, but it's possible to avoid the overflow honoring the 'word-break' property, hence the overflow-wrap property is not applied.
break-spaces-before-first-ideographic-char-006 = Ahem white-space: break-spaces
  • A breaking opportunity exists only after a ideographic space character, but it's possible to avoid the overflow honoring the 'word-break' property, hence the overflow-wrap property is not applied.
break-spaces-before-first-ideographic-char-007 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the 'line-break' property.
break-spaces-before-first-ideographic-char-008 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-ideographic-char-009 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-ideographic-char-010 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-ideographic-char-011 = Ahem ideographic space - break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-ideographic-char-012 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the overflow-wrap property.
break-spaces-before-first-ideographic-char-013 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the overflow-wrap property.
break-spaces-before-first-ideographic-char-014 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the overflow-wrap property, except when there are previous breaking opportunities.
break-spaces-before-first-ideographic-char-015 = Ahem white-space: break-spaces
  • A breaking opportunity exists only after a ideographic space character, but it's possible to avoid the overflow honoring the 'word-break' property, hence the 'overflow-wrap' property is not applied.
break-spaces-before-first-ideographic-char-016 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-ideographic-char-017 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the 'line-break' property, ignoring previous breaking opportunities.
break-spaces-before-first-ideographic-char-018 = Ahem white-space: break-spaces
  • A breaking opportunity exists before the first character of a sequence of ideographic spaces to avoid the line overflow, honoring the overflow-wrap property.
break-spaces-with-ideographic-space-001 = ideographic space at the end of line and white-space is break-spaces
  • ideographic space at the end of the line is wrapped when the white-space property is set to break-spaces.
break-spaces-with-ideographic-space-002 = Ahem white-space: break-spaces
  • break-word + break-spaces do not allow a break between the last character of a word and the first space of a sequence of ideographic spaces if there are other wrapping opportunities earlier in the line.
break-spaces-with-ideographic-space-003 = Ahem white-space: break-spaces
  • break-word + break-spaces do not allow a break between the last character of a word and the first space of a sequence of ideographic spaces if there are other wrapping opportunities earlier in the line.
break-spaces-with-ideographic-space-004 = Ahem white-space: break-spaces
  • The word is not broken if there are previous breaking opportunities, honoring the 'white-space: break-spaces' value.
break-spaces-with-ideographic-space-005 = Ahem white-space: break-spaces
  • If 'white-space' is set to 'break-spaces', collapsing preserved white-spaces' advance width is not allowed, so that they can be wrapped honoring the 'white-space' propery.
break-spaces-with-ideographic-space-006 = Ahem white-space: break-spaces
  • Ideographic spaces can be wrapped, honoring the 'white-space: break-spaces', but the words are broken, honring the 'word-beak: break-all' even though there are previous breaking opportunities in the white-spaces.
break-spaces-with-ideographic-space-007 = Ahem white-space: break-spaces
  • A single leading ideographic space should be used as breaking opportunity, honoring white-space: break-spaces, to avoid overflow; however, a single ideographic space at the end of the line cannot be wrapped, hence it overflows when breaking after it to move the rest of the text to the next line.
break-spaces-with-ideographic-space-008 = Ahem white-space: break-spaces
  • Ideographic spaces can be wrapped, honoring the 'white-space: break-spaces', which may lead to overfow. However, we can break before the las letter in the word honoring the 'break-all' value.
break-spaces-with-ideographic-space-009 = Ahem word-break:break-word + white-space:break-spaces
  • break-word + break-spaces do allow a break between the last character of a word and the first space of a sequence of ideographic spaces if there are no other wrapping opportunities earlier in the line
break-spaces-with-ideographic-space-010 = Ahem white-space: break-spaces
  • break-spaces only allows breaking after an ideographic space, hence, it may overflow.
break-spaces-with-overflow-wrap-001 = Ahem white-space: break-spaces and Overflow Wrapping
  • break-word + break-spaces do not allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are other wrapping opportunities earlier in the line.
break-spaces-with-overflow-wrap-002 = Ahem white-space: break-spaces and Overflow Wrapping
  • anywhere + break-spaces do not allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are other wrapping opportunities earlier in the line.
break-spaces-with-overflow-wrap-003 = Ahem white-space: break-spaces and Overflow Wrapping
  • The word is not broken if there are previous breaking opportunities, honoring the 'white-space: break-spaces' value.
break-spaces-with-overflow-wrap-004 = Ahem white-space: break-spaces and Overflow Wrapping
  • The word is not broken if there are previous breaking opportunities, honoring the 'white-space: break-spaces' value.
break-spaces-with-overflow-wrap-005 = Ahem white-space: break-spaces and Overflow Wrapping
  • White spaces are preserved, honoring the 'white-space: break-spaces', and the words aren't broken honring the 'overflow-wrap: break-word'.
break-spaces-with-overflow-wrap-006 = Ahem white-space: break-spaces and Overflow Wrapping
  • White spaces are preserved, honoring the 'white-space: break-spaces', and the words aren't broken honring the 'overflow-wrap: break-word'.
break-spaces-with-overflow-wrap-007 = Ahem white-space: break-spaces and Overflow Wrapping
  • White spaces are preserved, honoring the 'white-space: break-spaces', but we can break before the first space after a word honoring 'overflow-wrap: break-word'.
break-spaces-with-overflow-wrap-008 = Ahem white-space - break-spaces
  • White spaces are preserved, honoring the 'white-space: break-spaces', but we can break before the first space after a word honoring 'overflow-wrap: anywhere'.
break-spaces-with-overflow-wrap-009 = Ahem word-break:break-word + white-space:break-spaces
  • break-word + break-spaces do allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are no other wrapping opportunities earlier in the line
break-spaces-with-overflow-wrap-010 = Ahem word-break:break-word + white-space:break-spaces
  • anywhere + break-spaces do allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are no other wrapping opportunities earlier in the line
line-break-anywhere-005 = line-break: anywhere
  • line-break: anywhere + break-spaces do allow a break between the last character of a word and the first space of a sequence of preserved spaces even if there is a previous breaking opportunity
line-break-anywhere-009 = line-break: anywhere
  • line-break: anywhere' disgregard the prohibition against line breaks introduced by characters with the GL character class
line-break-anywhere-and-white-space-008 = line-break: anywhere and the white-space property
  • 'line-break: anywhere' allows preserved white spaces at the end of the line, honoring 'white-space: break-spaces'.
line-break-anywhere-and-white-space-009 = line-break: anywhere and the white-space property
  • 'line-break: anywhere' allows breaking before the first character of a preserved white space sequence, honoring 'white-space: break-spaces'.
overflow-wrap-anywhere-002 = Ahem overflow-wrap: anywhere + white-space:break-spaces
  • anywhere + break-spaces do not allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are other wrapping opportunities earlier in the line
overflow-wrap-anywhere-003 = Ahem overflow-wrap:anywhere + white-space:break-spaces
  • anywhere + break-spaces do allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are no other wrapping opportunities earlier in the line
overflow-wrap-break-word-002 = Ahem overflow-wrap: break-word + white-space:break-spaces
  • break-word + break-spaces do not allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are other wrapping opportunities earlier in the line
overflow-wrap-break-word-003 = Ahem overflow-wrap:break-word + white-space:break-spaces
  • break-word + break-spaces do allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are no other wrapping opportunities earlier in the line
overflow-wrap-break-word-006 = Ahem overflow-wrap: break-word
  • A Single leading white-space constitutes a soft breaking opportunity, honoring the 'white-space: break-spaces' property, that must prevent the word to be broken.
overflow-wrap-break-word-008 = Ahem overflow-wrap:break-word + white-space:break-spaces
  • break-word + break-spaces do allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are no other wrapping opportunities earlier in the line
textarea-break-spaces-001 = preserved white space at the end of line is wrapped when white-space is break-spaces in a textarea
  • preserved white space at the end of the line is wrapped when the white-space property is set to break-spaces in a textarea.
textarea-break-spaces-002 = single preserved white space at the end of with white-space:break-spaces in a textarea
  • a single preserved white space at the end of the line is not wrapped when the white-space property is set to pre-wrap and overflow-wrap is break-spaces in a textarea.
trailing-ideographic-space-break-spaces-001 = Breaking sequences of trailing ideograohic spaces
  • If white-space is set to 'break-spaces', the overflowing idegraphic spaces must wrap to the next line.
trailing-ideographic-space-break-spaces-002 = Breaking sequences of trailing ideograohic spaces
  • If white-space is set to 'break-spaces', the overflowing idegraphic spaces must wrap to the next line.
trailing-ideographic-space-break-spaces-003 = Breaking sequences of trailing ideograohic spaces
  • If white-space is set to 'break-spaces', the overflowing idegraphic spaces must wrap to the next line.
trailing-ideographic-space-break-spaces-004 = Breaking sequences of trailing ideograohic spaces
  • If white-space is set to 'break-spaces', the overflowing idegraphic spaces must wrap to the next line.
trailing-ideographic-space-break-spaces-005 = Breaking sequences of trailing ideograohic spaces
  • If white-space is set to 'break-spaces', the overflowing idegraphic spaces must wrap to the next line.
trailing-ideographic-space-break-spaces-006 = Breaking sequences of trailing ideograohic spaces
  • If white-space is set to 'break-spaces', the overflowing idegraphic spaces must wrap to the next line.
trailing-ideographic-space-break-spaces-007 = Breaking sequences of trailing ideograohic spaces
  • Setting white-space to 'break-spaces', hanging or collapsing the advance width of the spaces is not allowed.
trailing-ideographic-space-break-spaces-008 = Breaking sequences of trailing ideograohic spaces
  • Setting white-space to 'break-spaces' doesn't prevent overflow if the first ideographic space of the sequence doesn't fit, which must hang.
word-break-break-all-012 = Ahem word-break: break-all
  • The word is broken even if white-space: break-spaces provides a former breaking opportunity in leading white-space.
word-break-break-all-013 = Ahem word-break: break-all
  • A single leading white-space should account as soft breaking opportunity, honoring the 'white-space: break-spaces', on top to the ones provided by 'word-break: break-all'.
word-break-break-all-017 = Ahem word-break: break-all
  • break-all + break-spaces do not allow a break between the last character of a word and the first space of a sequence of preserved spaces if there are other wrapping opportunities earlier in the line.
word-break-break-all-022 = word-break: break-all
  • word-break: break-all' must honor line breaking behavior introduced by characters with the GL character class
line-break-anywhere-and-white-space-004 = line-break: anywhere and the white-space property
  • The line is wrapped ignoring the white space, which will be removed honoring 'white-space: normal'
line-break-anywhere-and-white-space-005 = line-break: anywhere and the white-space property
  • The line is wrapped ignoring the white space, which will be removed honoring 'white-space: normal'
trailing-ideographic-space-005 = = sequences of spaces and ideographic spaces at the end of line must hang
  • An sequence ideographic space (U+3000) and regular spaces at the end of the line must hang unconditionally .
trailing-ideographic-space-006 = = sequences of spaces and ideographic spaces at the end of line must hang
  • An ideographic space (U+3000) at the end of the line must unconditionally hang.
trailing-ideographic-space-017 = handling trailing ideographic space sequence
  • Disabled hypenation and unicode-bidi 'plaintext' should not affect, hence the trailing ideographic spaces must hang; however, the rest of the sequence is wrapped due to the forced break.
trailing-ideographic-space-018 = handling trailing ideographic space sequence
  • Disabled hypenation and unicode-bidi 'plaintext' should not affect, hence the trailing ideographic spaces must hang; however, the rest of the sequence is wrapped due to the forced break.
trailing-ideographic-space-019 = handling trailing ideographic space sequence
  • Disabled hypenation and unicode-bidi 'plaintext' should not affect, hence the trailing ideographic spaces must hang; however, the rest of the sequence is wrapped due to the forced break.
trailing-ideographic-space-020 = handling trailing ideographic space sequence
  • Disabled hypenation and unicode-bidi 'isolate' should not affect, hence the trailing ideographic spaces must hang; however, the rest of the sequence is wrapped due to the forced break.
trailing-ideographic-space-021 = handling trailing ideographic space sequence
  • Disabled hypenation and unicode-bidi 'isolate' should not affect, hence the trailing ideographic spaces must hang; however, the rest of the sequence is wrapped due to the forced break.
trailing-ideographic-space-022 = handling trailing ideographic space sequence
  • Disabled hypenation and unicode-bidi 'isolate' should not affect, hence the trailing ideographic spaces must hang; however, the rest of the sequence is wrapped due to the forced break.
trailing-ideographic-space-023 = handling trailing ideographic space sequence
  • Auto hypenation and unicode-bidi 'plaintext' should not affect, hence the trailing ideographic spaces must hang; however, the rest of the sequence is wrapped due to the forced break.
trailing-ideographic-space-024 = handling trailing ideographic space sequence
  • Auto hypenation and unicode-bidi 'plaintext' should not affect, hence the trailing ideographic spaces must hang; however, the rest of the sequence is wrapped due to the forced break.
trailing-ideographic-space-025 = handling trailing ideographic space sequence
  • Auto hypenation and unicode-bidi 'plaintext' should not affect, hence the trailing ideographic spaces must hang; however, the rest of the sequence is wrapped due to the forced break.
line-break-anywhere-and-white-space-002 = line-break: anywhere and the white-space property
  • 'line-break: anywhere' can't prevent overflow under 'white-space: nowrap', because it line wrapping is not allowed.
overflow-wrap-anywhere-008 = Ahem overflow-wrap - anywhere and white-space - nowrap
  • Test checks that the 'overflow-wrap' property has effect if and only if the 'white-space' allows wrapping
trailing-ideographic-space-007 = = sequences of spaces and ideographic spaces at the end of line must hang
  • An ideographic space (U+3000) at the end of the line must unconditionally hang.
trailing-ideographic-space-009 = = sequences of spaces and ideographic spaces at the end of line must hang
  • An sequence ideographic space (U+3000) and regular spaces at the end of the line must hang unconditionally .
line-break-anywhere-and-white-space-001 = line-break: anywhere and the white-space property
  • 'line-break: anywhere' can't prevent overflow under 'white-space: pre', because it line wrapping is not allowed.
line-break-anywhere-and-white-space-003 = line-break: anywhere and the white-space property
  • 'line-break: anywhere' can't prevent overflow under 'white-space: pre', because it line wrapping is not allowed.
trailing-ideographic-space-008 = = sequences of spaces and ideographic spaces at the end of line must hang
  • An ideographic space (U+3000) at the end of the line must unconditionally hang.
trailing-ideographic-space-010 = = sequence of ideographic spaces at the end of line must hang
  • An sequence ideographic space (U+3000) and regular spaces at the end of the line must hang unconditionally .
white-space-generated-content-before-001 = White-space 'pre-line' vs. ':before' assignment
  • The ':before' assignment and 'white-space: pre-line' assignment behave the same way with respect to white space.
eol-spaces-bidi-003 = = trailing collapsible spaces and bidi
  • Hanging space between OP and D should take paragraph direction and show in the end of the line (blue box to the left)
hyphens-auto-002 = Ahem CSS Text: 'hyphens: auto' with a valid 'lang' attribute specification
  • Although hyphenation is enabled, honoring 'auto' value for the 'hyphens' CSS property and a valid 'lang' attribute, the words fit. However, we should break preserved white spaces, honoring 'white-space: pre-wrap' to prevent overflow.
line-break-anywhere-008 = line-break: anywhere
  • break-all breaks between the last two letters, because breaking opportunities between the punctuaction characters are forbidden.
line-break-anywhere-010 = line-break: anywhere
  • line-break: anywhere' disgregard the prohibition against line breaks introduced by characters with the GL character class
line-break-anywhere-and-white-space-006 = line-break: anywhere and the white-space property
  • 'line-break: anywhere' can't break a preserved sequence of spaces under 'white-spate: pre-wrap', which should hang instead.
line-break-anywhere-and-white-space-007 = line-break: anywhere and the white-space property
  • 'line-break: anywhere' can't break before the first white-space affter a word under 'white-spate: pre-wrap', which should hang instead.
overflow-wrap-anywhere-005 = Ahem overflow-wrap: anywhere
  • A Single leading white-space constitutes a soft breaking opportunity, honoring the 'white-space: pre-wrap' property, that must prevent the word to be broken.
overflow-wrap-break-word-004 = Ahem overflow-wrap: break-word
  • A Single leading white-space constitutes a soft breaking opportunity, honoring the 'white-space: pre-wrap' property, that must prevent the word to be broken.
overflow-wrap-break-word-005 = Ahem overflow-wrap: break-word
  • A Single leading white-space constitutes a soft breaking opportunity, honoring the 'white-space: pre-wrap' property, that must prevent the word to be broken.
overflow-wrap-break-word-007 = Ahem overflow-wrap: break-word
  • A Single leading white-space constitutes a soft breaking opportunity, honoring the 'white-space: pre-wrap' property, that must prevent the word to be broken.
pre-wrap-008 = Ahem white-space: pre-wrap
  • The word is not broken despite the 'word-break: break-word' if there are previous breaking opportunities, honoring the white-space: pre-wrap value.
pre-wrap-009 = Ahem white-space: pre-wrap
  • The word is not broken despite the 'word-break: break-word' if there are previous breaking opportunities, honoring the white-space: pre-wrap value.
pre-wrap-010 = Ahem white-space: pre-wrap
  • The word is not broken if there are previous breaking opportunities, honoring the white-space: pre-wrap value.
pre-wrap-015 = Ahem white-space: pre-wrap
  • The text is broken at the end of the space between the two words, never before, so it hangs and cause an overflow
pre-wrap-016 = Ahem white-space: pre-wrap
  • The word is not broken if there are previous breaking opportunities, honoring the white-space: pre-wrap value.
pre-wrap-leading-spaces-001 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Preserved white space at the beginning of the line are breaking opportunities when white-space is pre-wrap.
pre-wrap-leading-spaces-002 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should be breaking opportunities when white-space is pre-wrap.
pre-wrap-leading-spaces-003 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should be breaking opportunities when white-space is pre-wrap.
pre-wrap-leading-spaces-004 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-005 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-006 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-007 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-008 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-009 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-010 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-011 = forced breaks create preserverd leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should not be collapsed, honoring white-space: pre-wrap.
pre-wrap-leading-spaces-012 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should be breaking opportunities when white-space is pre-wrap.
pre-wrap-leading-spaces-013 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should be breaking opportunities when white-space is pre-wrap.
pre-wrap-leading-spaces-014 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Preserved white space after forced breaks become leading white-spaces and should be breaking opportunities when white-space is pre-wrap.
pre-wrap-leading-spaces-015 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Empty line with preserved white spaces must account for box sizing.
pre-wrap-leading-spaces-016 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Empty line with preserved white spaces must account for box sizing.
pre-wrap-leading-spaces-017 = breaking opportunities at leading spaces with white-space:pre-wrap
  • Empty line with preserved white spaces must account fpor box sizing.
trailing-ideographic-space-011 = = handling leading ideographic space sequence
  • Trailing ideographic spaces should hang.
trailing-ideographic-space-012 = = handling leading ideographic space sequence
  • Trailing ideographic spaces should hang.
trailing-ideographic-space-013 = = handling leading ideographic space sequence
  • Trailing ideographic spaces should hang, despite the use of overflow-wrap: break-word.
trailing-ideographic-space-014 = = handling leading ideographic space sequence
  • Trailing ideographic spaces should hang, despite the use of overflow-wrap: anywhere.
trailing-ideographic-space-015 = = handling leading ideographic space sequence
  • Trailing ideographic spaces should hang, despite the use of overflow-wrap: anywhere.
trailing-ideographic-space-016 = = handling leading ideographic space sequence
  • Trailing ideographic spaces should hang, despite the use of overflow-wrap: break-word.
white-space-pre-wrap-trailing-spaces-004 = = hanging trailing spaces with white-space:pre-wrap
  • Preserved white space at the end of a soft-wrapped line is hanged when white-space is pre-wrap.
white-space-pre-wrap-trailing-spaces-005 = hanging trailing spaces with white-space:pre-wrap
  • Preserved white space at the end of a soft-wrapped line is hanged when white-space is pre-wrap.
white-space-pre-wrap-trailing-spaces-006 = hanging trailing spaces with white-space:pre-wrap
  • Preserved white space at the end of a soft-wrapped line is hanged when white-space is pre-wrap.
white-space-pre-wrap-trailing-spaces-007 = hanging trailing spaces with white-space:pre-wrap
  • Preserved white space at the end of a soft-wrapped line is hanged when white-space is pre-wrap.
white-space-pre-wrap-trailing-spaces-008 = hanging trailing spaces with white-space:pre-wrap
  • Preserved white space at the end of a soft-wrapped line is hanged when white-space is pre-wrap.
white-space-pre-wrap-trailing-spaces-010 = hanging trailing spaces with white-space:pre-wrap
  • Preserved white space at the end of a soft-wrapped line is hanged when white-space is pre-wrap.
white-space-pre-wrap-trailing-spaces-011 = hanging trailing spaces with white-space:pre-wrap
  • Preserved white space at the end of a soft-wrapped line is hanged when white-space is pre-wrap.
white-space-pre-wrap-trailing-spaces-012 = = hanging trailing spaces with white-space:pre-wrap
  • Previous breaking opportunities are not considered if the overflow is caused by hanging trailing spaces.
white-space-pre-wrap-trailing-spaces-013 = = hanging trailing spaces with white-space:pre-wrap
  • Previous breaking opportunities are not considered if the overflow is caused by hanging trailing spaces.
white-space-pre-wrap-trailing-spaces-014 = = hanging trailing spaces with white-space:pre-wrap
  • Previous breaking opportunities are not considered if the overflow is caused by hanging trailing spaces.
white-space-pre-wrap-trailing-spaces-015 = = hanging trailing spaces with white-space:pre-wrap
  • Previous breaking opportunities are not considered if the overflow is caused by hanging trailing spaces.
word-break-break-all-010 = Ahem word-break: break-all
  • The word is broken even if pre-wrap provides a former breaking opportunity in leading white-space.
word-break-break-all-011 = Ahem word-break: break-all
  • A single leading white-space should account as soft breaking opportunity, honoring the 'white-space: pre-wrap', on top to the ones provided by 'word-break: break-all'.
word-break-break-all-015 = Ahem word-break: break-all
  • The word is broken even if white-space: pre-wrap provides a former breaking opportunity in leading white-space.
word-break-break-all-019 = word-break: break-all
  • break-all breaks between the last two letters, because breaking opportunities between the punctuaction characters are forbidden.
word-break-break-all-021 = word-break: break-all
  • word-break: break-all' must honor line breaking behavior introduced by characters with the GL character class