Summarized test results:
Japanese & Chinese line breaks

To run the test, or to see detailed, per character, results, click on the link in the left-most column. To see detailed results click on a row and look just above the table.

Key: pass fail partially successful

These tests check whether browsers support language-specific properties of the line-break property as described in rules listed in the CSS Text spec.

The line-break property specifies the strictness of line-breaking rules applied within an element: especially how wrapping interacts with punctuation and symbols. Values include loose, normal, and strict. The tests on this page look specifically at the impact of these values for text labelled as either Japanese or Chinese.

Essentially, all these tests are about whether a break opportunity can appear immediately before a given character, or whether the character sticks to the previous character when wrapped to the next line. The answer depends on the type of character and the CSS values applied.


Conditional Japanese Starters (CJ)

Characters with the Unicode Line Break property CJ include Japanese small kana and the Katakana-Hiragana prolonged sound mark. In strict mode, break opportunities before these characters are forbidden. In other modes, they are allowed.

Japanese

The CSS spec contains Japanese-specific rules for break opportunities before hyphens, iteration marks, inseparable characters, centred punctuation, and characters with the property PO (Punctuation, Other) with an East Asian width of A, F, or W.

Strict

In strict mode, break opportunities are forbidden before all the above mentioned types of character.

Normal

In normal mode, break opportunities are allowed before hyphens, but forbidden before all the other types of character mentioned above.

Loose

In loose mode, break opportunities are allowed before all the above mentioned types of character.

Chinese

The CSS spec contains Chinese-specific rules for break opportunities before hyphens, iteration marks, inseparable characters, centred punctuation, and characters with the property PO (Punctuation, Other) with an East Asian width of A, F, or W.

Strict

In strict mode, break opportunities are forbidden before all the above mentioned types of character.

Normal

In normal mode, break opportunities are allowed before hyphens, but forbidden before all the other types of character mentioned above.

Loose

In loose mode, break opportunities are allowed before all the above mentioned types of character.