blob: 1da1418f9d95abec4875933dbd5f862a8ac35626 [file] [log] [blame]
<!doctype html>
<html>
<head>
<style>
target::before {
content: "Before ";
background-color: green;
color: white;
}
target {
background-color: green;
color: white;
}
</style>
</head>
<body>
<p>This test checks the dynamic specificity of rules mixing pseudo element and regular element matching. If the text succeed, the text should be "Before Target" in white over a green background and no borders.</p>
<target>Target</target>
</body>
</html>