gecko-dev/layout/reftests/css-parsing/invalid-attr-1.html

26 lines
544 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
p { color: red; }
[
p { color: red !important; }
p { color: red !important; }
] p { color: red !important; }
p { color: green; }
</style>
<style>
div { color: red; }
:not([)
div { color: red !important; }
div { color: red !important; }
]) div { color: red !important; }
div { color: green; }
</style>
</head>
<body>
<p>This text should be green.</p>
<div>This text should be green.</p>
</body>
</html>