gecko/layout/reftests/bugs/534526-1b.html
2010-02-23 23:37:47 -05:00

13 lines
298 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
span { color: red; }
[style*=red] + * { color: green; }
</style>
</head>
<body onload="document.getElementById('x').style.color = 'red'">
<span id="x" style="color: blue"></span><span>This should be green</span>
</body>
</html>