tenfourfox/layout/reftests/bugs/315920-3c.html
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

17 lines
495 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
input {color: red}
#two { color: green }
input[disabled]:not(:enabled) {color: green}
input:not([disabled]):enabled + #two:enabled {color: red}
</style>
</head>
<body onload='var elem = document.getElementById("one");
elem.setAttribute("disabled", "disabled");'>
<input type="button" id="one" value="Should be no red"/>
<input type="button" id="two" value="Should be no red"/>
</body>
</html>