summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/text-justify/reference/text-justify-and-trailing-spaces-001-ref.html
blob: de1aa16466bb3f23fadb7acd78ea3c10a501cff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>test reference</title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<style>
div {
  width: 7ch;
  font: 20px monospace;
  background: blue;
}
span {
    background: green;
}
</style>

<p>Test passes if we have XX at each edge of the blue box and XXX in the second line (left-edge trailing space if not removed)</p>
<div><span>XX&nbsp;&nbsp;&nbsp;XX&nbsp;<br>XXX</span></div>