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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/315920-18c.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +  <head>
     1.7 +    <style>
     1.8 +      label {color: red}
     1.9 +      input:not(:-moz-broken) ~ label {color: green}
    1.10 +      input { display: none }
    1.11 +    </style>
    1.12 +  </head>
    1.13 +  <body onload='var i1 = document.getElementById("ffximage");
    1.14 +                i1.onload =
    1.15 +                  function() { document.documentElement.className = ""; };
    1.16 +                i1.setAttribute("src", "solidblue.png");'>
    1.17 +    <input type="image" src="no-such-scheme:nothing" id="ffximage"/>
    1.18 +    <label for="ffximage">Text should be green</label>
    1.19 +  </body>
    1.20 +</html>

mercurial