summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/sizing-percentages-replaced-orthogonal-001-ref.html
blob: 0fd818c5a3552c3f388648456eb8fc2ba868704b (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
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reftest Reference: Percentage size on orthogonal replaced elements</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
<style>
.container {
  display: inline-block;
  border: solid 5px black;
  margin: 10px;
  vertical-align: top;
  width: 200px;
  height: 100px;
}

img {
  display: block;
  width: 200px;
  height: 100px;
}

</style>

<p>The test passes if you see four filled lime rectangles with black border and <strong>no red</strong>.</p>

<div class="container">
  <img src="support/100x100-lime.png" />
</div>

<div class="container">
  <img src="support/100x100-lime.png" />
</div>

<div class="container">
  <img src="support/100x100-lime.png" />
</div>

<div class="container">
  <img src="support/100x100-lime.png" />
</div>