summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/text-autospace/text-autospace-break-001.html
blob: 5af0e1f65afed7d878bb82ac9dfe3695a273cc97 (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">
<link rel="help" href="https://drafts.csswg.org/css-text-4/#text-autospace-property">
<link rel="match" href="text-autospace-break-001-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
.test-container {
  font-family: Ahem;
  font-size: 40px;
  width: 4em;
}
.test > span {
  outline: 1px solid blue;
}
</style>
<div class="test-container">
  <div class="test"><span>国国国国X国</span></div>
  <div class="test"><span>国国国国1国</span></div>
  <div class="test"><span>XXXX国X</span></div>
  <div class="test"><span>1111国1</span></div>
  <div class="test"><span>国X国</span></div>
</div>