<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>CSS Test: Parsing check for * ~ :root error handling</title> | |
<link rel="author" title="Microsoft" href="http://www.microsoft.com/"> | |
<link rel="help" href="https://drafts.csswg.org/selectors-3/#selector-syntax"> | |
<link rel="match" href="../CSS2/reference/ref-this-text-should-be-green.xht"> | |
<meta name="assert" content="* ~ :root should not match anything"> | |
<style> | |
* ~ :root p { | |
color: red; | |
} | |
p { | |
color: green; | |
} | |
</style> | |
<p>This text should be green.</p> |