Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 4 Test: word-space-transform: auto-phrase forbidden</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="match" href="reference/word-space-transform-030-ref.html">
<meta name="assert" content="Transform effects, notably transforming virtual word separators into spaces, affect line breaking.">
<style>
div {
font-size: 2em;
border: solid black;
margin: 5px;
width: min-content;
word-break: keep-all;
}
#test {
word-space-transform: ideographic-space auto-phrase;
}
</style>
<p>Test passes if the two boxes below are identical.
<div id=test lang=ja>一生懸命働きます。</div>
<div id=ref lang=ja>一生懸命 <br>働きます。</div>