layout/reftests/bugs/315920-18f.html

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
equal deleted inserted replaced
-1:000000000000 0:89c4384c8f6c
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <style>
5 label {color: red}
6 input[src*="solidblue"]:not(:-moz-broken) + label {color: green}
7 input, img { display: none }
8 </style>
9 </head>
10 <body onload='var i1 = document.getElementById("ffximage");
11 i1.onload =
12 function() { document.documentElement.className = ""; };
13 i1.setAttribute("src", "solidblue.png");'>
14 <img src="solidblue.png">
15 <input type="image" src="no-such-scheme:nothing" id="ffximage"/>
16 <label for="ffximage">Text should be green</label>
17 </body>
18 </html>

mercurial