summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/text-justify/reference/text-justify-and-trailing-spaces-alt-003-ref.html
blob: d4dbf95417d7c56d7c9abb436374d868fb6c164e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!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;
  margin-left: 20px;
  direction: rtl;
}
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<br>XXX</span></div>