summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/white-space/reference/trailing-ideographic-space-alt-003-ref.html
blob: 9f579f29e0c897c744e1b06d5d2d60e85612f823 (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 test reference</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
<style>
div { white-space: pre; }
span {
  background: blue;

  /* to make the span go under the right border */
  z-index:-1;
  position: relative;
}
aside {
  display: inline-block;
  width: 0.5em;
  border-right: 1em white solid;
}
</style>

<p>Test passes if the characters below are arranged in a square and if there is a blue rectangle at the end of the first line.
<div>ああ<aside><span>&#x3000;</span></aside><br>ああ</div>