2 <title>References for bug
823483</title>
5 body, input { font-size:
10px }
6 body { line-height:
1.5 }
7 input { padding:
0 1px; border:
1px solid maroon; font-family: monospace }
19 td:nth-child(
1)
> * { vertical-align: bottom }
20 td:nth-child(
1)
> div
> * { vertical-align: bottom }
30 <td>img, unstyled
</td>
34 <td><img style=
"width: 0; height: 0"></td>
35 <td>img, width:
50%
</td>
39 <td><img style=
"width: 0; height: 0;"></td>
40 <td>img, max-width:
50%
</td>
44 <td><canvas height=
"10" width=
"10"></canvas></td>
45 <td>canvas, unstyled
</td>
49 <td><canvas style=
"width: 0; height: 0" height=
"10" width=
"10"></canvas></td>
50 <td>canvas, width:
50%
</td>
54 <td><canvas style=
"width: 0; height: 0" height=
"10" width=
"10"></canvas></td>
55 <td>canvas, max-width:
50%
</td>
59 <td><iframe height=
"10" width=
"10"></iframe></td>
60 <td>iframe, almost unstyled
</td>
64 <td><div style=
"width: 4px"><iframe style=
"vertical-align: bottom" height=
"10" width=
"2"></iframe></div></td>
65 <td>iframe, width:
50%
</td>
69 <td><div style=
"width: 4px"><iframe style=
"vertical-align: bottom" height=
"10" width=
"2"></iframe></div></td>
70 <td>iframe, max-width:
50%
</td>
74 <td><input type=
"text"></td>
75 <td>input
type=
"text", unstyled
</td>
79 <td><div style=
"width:4px"><input type=
"text" style=
"width: 2px"></div></td>
80 <td>input
type=
"text", width:
50%
</td>
84 <td><div><input type=
"text" style=
"visibility: hidden"></div></td>
85 <td>input
type=
"text", max-width:
50%
</td>
89 <td><input type=
"button"></td>
90 <td>empty input
type=
"button", unstyled
</td>
94 <!-- 2px border, 2px padding -->
95 <td><div style=
"width: 4px"><input type=
"button" style=
"width: 2px"></div></td>
96 <td>empty input
type=
"button", width:
50%
</td>
100 <!-- 2px border, 2px padding -->
101 <td><div style=
"width: 4px"><input type=
"button" style=
"width: 2px"></div></td>
102 <td>empty input
type=
"button", max-width:
50%
</td>
106 <td><input type=
"button" value=
"Button"></td>
107 <td>nonempty input
type=
"button", unstyled
</td>
111 <td><div><input type=
"button" value=
"Button" style=
"visibility: hidden"></div></td>
112 <td>nonempty input
type=
"button", width:
50%
</td>
116 <td><div><input type=
"button" value=
"Button" style=
"visibility: hidden"></div></td>
117 <td>nonempty input
type=
"button", max-width:
50%
</td>
122 var images
= document
.getElementsByTagName("img");
123 for (var i
= 0; i
< images
.length
; ++i
) {
124 var image
= images
[i
];
125 image
.src
= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAAXNSR0IArs4c6QAAAChJREFUSMftzUEBAAAEBLCjf2dK8NsKrJLJp84zgUAgEAgEAoFAcGUBocYBP+pqhN4AAAAASUVORK5CYII=";