summaryrefslogtreecommitdiff
path: root/layout/xul/reftest/image-size-ref.xul
blob: c67364686ba35a77b539a44b36768e7f7cb83319 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        xmlns:html="http://www.w3.org/1999/xhtml">

<html:style>
div { margin: 0px; line-height: 0px; }
div div { background: blue; display: inline; float: left; } 
</html:style>

<html:div><html:img
      src="image4x3.png" style="width: 40px; height: 30px;"/><html:img
      src="image4x3.png" style="width: 80px; height: 20px;"/><html:img
      src="image4x3.png" style="width: 10px; height: 70px;"/><html:img
      src="image4x3.png" style="width: 80px; height: 60px;"/><html:img
      src="image4x3.png" style="width: 80px; height: 60px;"/><html:img
      src="image4x3.png" style="width: 20px; height: 15px;"/><html:img
      src="image4x3.png" style="width: 20px; height: 15px;"/><html:img
      src="image4x3.png" style="width: 40px; height: 30px; border: 8px solid green;"/><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 80px; height: 64px; border: 8px solid yellow;"/><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 72px; height: 58px; border: 8px solid green;"/><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 24px; height: 22px; border: 8px solid yellow;"/><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 24px; height: 22px; border: 8px solid green;"/><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 74px; height: 53px; border: solid yellow; border-top-width: 1px; border-right-width: 2px; border-bottom-width: 4px; border-left-width: 8px;"/><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 18px; height: 11px; border: solid green; border-top-width: 1px; border-right-width: 2px; border-bottom-width: 4px; border-left-width: 8px;"/>
</html:div>

<html:div><html:img
      src="image4x3.png" style="width: 40px; height: 30px;"/><html:img
      src="image4x3.png" style="width: 80px; height: 20px;"/><html:img
      src="image4x3.png" style="width: 10px; height: 70px;"/><html:img
      src="image4x3.png" style="width: 80px; height: 60px;"/><html:img
      src="image4x3.png" style="height: 80px; height: 60px;"/><html:img
      src="image4x3.png" style="width: 20px; height: 15px;"/><html:img
      src="image4x3.png" style="width: 20px; height: 15px;"/><html:img
      src="image4x3.png" style="width: 60px; height: 25px;"/><html:img
      src="image4x3.png" style="width: 20px; height: 75px;"/><html:img
      src="image4x3.png" style="width: 80px; height: 64px; padding: 8px; box-sizing: border-box;"/><html:img
      src="image4x3.png" style="width: 72px; height: 58px; padding: 8px; box-sizing: border-box;"/><html:img
      src="image4x3.png" style="width: 24px; height: 22px; padding: 8px; box-sizing: border-box;"/><html:img
      src="image4x3.png" style="width: 24px; height: 22px; padding: 8px; box-sizing: border-box;"/><html:img
      src="image4x3.png" style="width: 67px; height: 60px; padding: 4px 2px 8px 1px; box-sizing: border-box;"/><html:img
      src="image4x3.png" style="width: 11px; height: 18px; padding: 4px 2px 8px 1px; box-sizing: border-box;"/>
</html:div>

<html:div><html:img
      src="image4x3.png" style="width: 20px; height: 15px;"/>
</html:div>

<html:div><html:img
      src="image4x3.png" style="width: 20px; height: 15px;"/>
</html:div>

<html:div><html:img
      src="image4x3.png" style="width: 30px; height: 22.5px"/>
</html:div>

<html:div><html:img
      src="image4x3.png" style="width: 20px; height: 15px;"/>
</html:div>

<html:div><html:img
      src="image4x3.png" style="width: 20px; height: 15px;"/>
</html:div>

<html:div><html:img
      src="image4x3.png" style="width 30px; height: 22.5px;"/>
</html:div>

<html:div><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 24px; height: 22px; border: 8px solid green;"/>
</html:div>

<html:div><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 24px; height: 22px; border: 8px solid green;"/>
</html:div>

<html:div><html:img
      src="image4x3.png" style="width: 40px; height: 30px;"/><html:img
      src="image4x3.png" style="width: 40px; height: 30px;"/><html:img
      src="image4x3.png" style="width: 40px; height: 30px;"/><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 60px; height: 49px; border: 8px solid green;"/><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 112px; height: 88px; border: 8px solid yellow;"/><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 96px; height: 76px; border: 8px solid green;"/><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 112px; height: 88px; border: 8px solid yellow;"/><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 106px; height: 77px; border: solid yellow; border-top-width: 1px; border-right-width: 2px; border-bottom-width: 4px; border-left-width: 8px;"/>
</html:div>

<html:div><html:img
      src="image4x3.png" style="width: 60px; height: 45px;"/><html:img
      src="image4x3.png" style="width: 120px; height: 90px;"/><html:img
      src="image4x3.png" style="width 60px; height: 45px;"/><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 60px; height: 49px; padding: 8px;"/><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 112px; height: 88px; padding: 8px;"/><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 96px; height: 76px; padding: 8px;"/><html:img
      src="image4x3.png" style="box-sizing: border-box; width: 112px; height: 88px; padding: 8px;"/>
</html:div>

<html:div><html:div
      style="width: 20px; height: 15px;"/><html:div
      style="width: 80px; height: 60px;"/><html:div
      style="width: 40px; height: 30px;"/><html:div
      style="width: 10px; height: 8px;"/><html:div
      style="width: 10px; height: 8px;"/>
</html:div>
    
<html:div><html:div style="width: 20px; height: 15px;"/></html:div>

<html:div><html:div style="width: 20px; height: 15px;"/></html:div>

<html:div><html:div style="box-sizing: border-box; width: 24px; height: 22px; border: 8px solid green;"/></html:div>

<html:div><html:div style="box-sizing: border-box; width: 24px; height: 22px; border: 8px solid green;"/></html:div>

</window>