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-020-ref.html">
<meta name="assert" content="The UA must not expand a virtual word separator at the beginning or end of any box whose parent box has a used value of none.">
<style>
div {
font-size: 2em;
border: solid black;
margin: 5px;
width: 30ch;
}
#test {
word-space-transform: none;
}
#test span {
word-space-transform: ideographic-space auto-phrase;
}
</style>
<p>Test passes if the two boxes below are identical.
<div id=test lang=ja>東京<span>へ</span>行きましょう。</div>
<div id=ref lang=ja>東京へ行きましょう。</div>