summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-inline/empty-text-node-001-ref.html
blob: 7ec7f1bdb0b910cb1b525535d3cc1a280a3b6136 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang=en>
<meta charset="utf-8">
<title>CSS Inline reference</title>
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
<style>
.green { color: green; }
.red { color: red; }
.ref {
  display: inline-block;
}
div div {
  width: 50px;
  height: 0px;
  border: 20px solid green;
  margin: 10px;
}
</style>
<p>Test passes if the <span class=green>green</span> boxes have <span class=red>no red</span> in the middle.</p>

<div class=ref>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
</div>

<div class=ref>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
</div>

<div class=ref>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
</div>