W3C

 

On this page

More tests

HTML & CSS tests page

Test home page

HTML+CSS Internationalization Tests
White-space

This page groups together pages being developed by the Internationalization Core Working Group to assess internationalization support of user agents. These tests are still under development and should not be taken as final.

Note that Internationalization WG tests do not only test conformance with W3C standards. In some cases the tests also allow for exploration of the behavior of user agents in ways not described by the standards.

Ideographic, default style sheet [results]

  1. Ideographic, inline spaces
    Spaces in a run of ideographic text in the source are reduced to a single space for display.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  2. Ideographic, line break only
    The source text [ideographic characters + line break + ideographic characters] will display as a single line with no white space.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  3. Ideographic, less than 4 spaces at end of line
    The source text [ideographic characters + 3 spaces + line break + ideographic characters] will display as a single line with a single space before the second run of ideographic text.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  4. Ideographic, spaces at beginning of line
    The source text [ideographic characters + line break + spaces + ideographic characters] will display as a single line with no white space in it.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  5. Ideographic, spaces at beginning and end of line
    The source text [ideographic characters + 3 spaces + line break + spaces + ideographic characters] will display as a single line with a single space before the second run of ideographic text.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  6. Ideographic, multiple line breaks
    The source text [ideographic characters + line break + line break + line break + ideographic characters] will display as a single line with no white space in it.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  7. Ideographic, multiple line breaks and spaces
    The source text [ideographic characters + line break + spaces + line break + spaces + ideographic characters] will display as a single line with no white space in it.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  8. Ideographic, less than 4 common characters at line end
    The source text [ideographic characters + common character + line break + ideographic characters] will display as a single line with no white space in it.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  9. Ideographic, more than 4 common characters at line end
    The source text [ideographic characters + 10 common characters + line break + ideographic characters] will display as a single line with a space after the common characters.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  10. Ideographic, less than 4 common characters plus space at line end
    The source text [ideographic characters + 3 common characters + 3 spaces + line break + ideographic characters] will display as a single line with a space after the common characters.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  11. Ideographic, space plus less than 4 common characters at line start
    The source text [ideographic characters + line break + 3 spaces + 3 common characters + ideographic characters] will display as a single line with no whitespace.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  12. Ideographic, common characters only on first line
    The source text [10 common characters + line break + ideographic characters] will display as a single line with no whitespace.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  13. Ideographic and Latin, latin next to line break
    The source text [ideographic characters + latin text + line break + ideographic characters] will display as a single line with one space after the Latin text.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1

Thai, default style sheet [results]

  1. Thai, inline spaces
    Spaces in a run of Thai text in the source are reduced to a single space for display.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  2. Thai, line break only
    The source text [thai characters + line break + thai characters] will display as a single line with a space where the line break was.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  3. Thai, line break only with zwsp
    The source text [thai characters + zwsp + line break + thai characters] will display as a single line with no space where the line break was.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  4. Thai, spaces at end of line
    The source text [thai characters + spaces + line break + thai characters] will display as a single line with a space where the line break was.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  5. Thai, spaces at beginning of line
    The source text [thai characters + line break + spaces + thai characters] will display as a single line with a space where the line break was.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  6. Thai, spaces at beginning of line plus zwsp
    The source text [thai characters + line break + spaces + thai characters] will display as a single line with no space where the line break was.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  7. Thai, spaces at beginning and end of line
    The source text [thai characters + spaces + line break + spaces + thai characters] will display as a single line with a single space where the line break was.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  8. Thai, less than 4 common characters at line end
    The source text [thai characters + space + common characters + line break + thai characters] will display as a single line with a space before and after the common characters.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  9. Thai, latin next to line break
    The source text [thai characters + space + latin characters + line break + thai characters] will display as a single line with a space before and after the latin characters.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1
  10. Thai, latin plus zwsp next to line break
    The source text [thai characters + space + latin characters + zwsp + line break + thai characters] will display as a single line with no space after the latin characters.
    HTML4 HTML5 XHTML1.0html XHTML1.0xml XHTML5 XHTML1.1

Copyright © 2013 W3C ® (MIT, ERCIM, Keio, Beihang) Usage policies apply.
Content last changed 2010-04-12 12:02 GMT.