Bug 1934520 - [devtools] Avoid errors in document-events webconsole listeners for...
[gecko.git] / layout / reftests / css-sizing / min-intrinsic-with-percents-across-img-cases-ref.html
blobefc63f344b865d6ee6f7501f7268227e761e2e8e
1 <!DOCTYPE HTML>
2 <title>References for bug 823483</title>
3 <style>
5 td:first-child {
6 background: aqua;
7 border: thin solid;
8 padding: 2px 0;
11 td:nth-child(2) {
12 width: 100%;
15 img { vertical-align: bottom }
17 </style>
20 <table><tr>
21 <td><img style="width: 32px; height: 32px"></td>
22 <td>unstyled</td>
23 </tr></table>
25 <table><tr>
26 <td><img style="width: 10px; height: 10px"></td>
27 <td>width: 10px</td>
28 </tr></table>
30 <table><tr>
31 <td><img style="width: 0; height: 0"></td>
32 <td>width: 50%</td>
33 </tr></table>
35 <table><tr>
36 <td><img style="width: 32px; height: 32px"></td>
37 <td>min-width: 50%</td>
38 </tr></table>
40 <table><tr>
41 <td><img style="width: 0; height: 0"></td>
42 <td>max-width: 50%</td>
43 </tr></table>
45 <table><tr>
46 <td><img style="width: 0; height: 0"></td>
47 <td>width: 10px; max-width: 50%</td>
48 </tr></table>
50 <table><tr>
51 <td><img style="width: 10px; height: 10px"></td>
52 <td>width: 10px; min-width: 50%</td>
53 </tr></table>
55 <table><tr>
56 <td><img style="width: 0; height: 0"></td>
57 <td>width: 150%</td>
58 </tr></table>
60 <table><tr>
61 <td><div style="width: 32px"><img style="width: 48px; height: 48px"></div></td>
62 <td>min-width: 150%</td>
63 </tr></table>
65 <table><tr>
66 <td><img style="width: 0; height: 0"></td>
67 <td>max-width: 150%</td>
68 </tr></table>
70 <table><tr>
71 <td><img style="width: 0; height: 0"></td>
72 <td>width: 10px; max-width: 150%</td>
73 </tr></table>
75 <table><tr>
76 <td><div style="width: 10px"><img style="width: 15px; height: 15px"></div></td>
77 <td>width: 10px; min-width: 150%</td>
78 </tr></table>
80 <script>
82 var images = document.getElementsByTagName("img");
83 for (var i = 0; i < images.length; ++i) {
84 var image = images[i];
85 image.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAAXNSR0IArs4c6QAAAChJREFUSMftzUEBAAAEBLCjf2dK8NsKrJLJp84zgUAgEAgEAoFAcGUBocYBP+pqhN4AAAAASUVORK5CYII=";
88 </script>