| <!DOCTYPE html> |
| <meta charset="utf-8"> |
| <title>Test reference</title> |
| <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> |
| <style> |
| .wrap { |
| font-size: 2em; |
| border: solid black; |
| margin: 5px; |
| width: 30ch; |
| word-break: keep-all; |
| } |
| .wrap > div { |
| width: 0; |
| } |
| #ref1 { |
| border-color: blue; |
| } |
| #ref2 { |
| border-color: orange; |
| } |
| </style> |
| |
| <p>Test passes if the black box is identical to either the blue or orange one. |
| |
| <div id=ref1 class=wrap> |
| <div lang=ja>東京へ<wbr>行きましょう。</div> |
| </div> |
| <div class=wrap> |
| <div lang=ja>東京へ<wbr>行きましょう。</div> |
| </div> |
| <div id=ref2 class=wrap> |
| <div lang=ja>東京<wbr>へ<wbr>行きましょう。</div> |
| </div> |