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 and forced line breaks (inline blocks)</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="match" href="reference/word-space-transform-012-ref.html">
<meta name="assert" content="must not replace instances of U+200B immediately preceding or following a forced line break (inline block boundaries)">
<style>
div {
font-size: 2em;
border: solid blue;
float: left;
margin: 1px;
}
.test {
word-space-transform: ideographic-space;
}
a { display: inline-block; }
.mbp span {
padding: 0 5px;
border: solid transparent;
border-width: 0 5px;
margin: 0 -10px;
}
</style>
<p>Test passes if the all boxes below are identical.
<div class=test>あ<a><wbr>い<wbr>う<wbr></a>え</div>
<div class=test>あ<a><span></span><span><wbr></span>い<wbr>う<span><wbr></span><span></span></a>え</div>
<div class="test mbp">あ<a><span></span><span><wbr></span>い<wbr>う<span><wbr></span><span></span></a>え</div>
<div class=test>あ<a>&#x200B;い&#x200B;う&#x200B;</a>え</div>
<div class=test>あ<a><span></span><span>&#x200B;</span>い&#x200B;う<span>&#x200B;</span><span></span></a>え</div>
<div class="test mbp">あ<a><span></span><span>&#x200B;</span>い&#x200B;う<span>&#x200B;</span><span></span></a>え</div>
<div id=ref>あい うえ</div>