summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/word-break/auto-phrase/reference/word-break-auto-phrase-002-ref.html
blob: 9f63cc951f0b71b448ca45ba857122a49437af32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<meta charset="utf-8">
<title>Test reference</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<style>
div {
  font-size: 2em;
  border: solid black;
  margin: 5px;
  width: min-content;
  word-break: keep-all;
}
#ref {
  border-color: blue;
}
</style>

<p>Test passes if the black box is identical to either the blue one.

<div id=test lang=th>
  กรุงเทพ<wbr>คือ<wbr>สวยงาม
</div>
<div id=ref lang=th>
  กรุงเทพ<wbr>คือ<wbr>สวยงาม
</div>