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