layout/reftests/bugs/120834-2c.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/120834-2c.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<style>
     1.8 +span { color: green }
     1.9 +:checked + span { color: red }
    1.10 +input { display: none }
    1.11 +</style>
    1.12 +
    1.13 +<body onload='document.getElementById("foo").removeAttribute("checked");
    1.14 +              document.getElementById("bar").removeAttribute("checked");'>
    1.15 +<input type="checkbox" checked="checked" id="foo"><span>There should be no red</span>
    1.16 +<input type="radio" checked="checked" id="bar"><span>There should be no red</span>
    1.17 +</body>
    1.18 +</html>

mercurial