summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/hyphens/reference/hyphens-span-002-ref.html
blob: 7b3f8206417ffeff05a522c07f1efad9176cde9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Test reference</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<style>
div {
  border: solid orange;
  margin: 5px;
  width: 6ch;
  hyphens: auto;
}
</style>

<p>Test passes if the text in all orange boxes below is identical (including the presence and position of a hyphen).

<div lang=en>highway</div>
<div lang=en>highway</div>
<div lang=en>highway</div>
<div lang=en>highway</div>
<div lang=en>highway</div>
<div lang=en>highway</div>
<div lang=en>highway</div>