<!doctype html> | |
<html> | |
<head> | |
<style> | |
* { | |
background-color: white; | |
color: black; | |
} | |
</style> | |
</head> | |
<body> | |
<p>This test the specificity of :matches() with static specificity. The test passes if the text "target" is displayed white on green background.</p> | |
<target style="background-color: green; color: white;">Target</target> | |
</body> | |
</html> |