<!doctype html> | |
<html> | |
<head> | |
<style> | |
target::after { | |
content:"WebKit!"; | |
color: white; | |
background-color: green; | |
} | |
target::after::after, ::after::after, target::after::after::after, ::after::after::after { | |
background-color: red; | |
color: black; | |
} | |
</style> | |
</head> | |
<body> | |
<p>Verify that selectors with duplicated ::after pseudo elements never match. If the test pass, you should see a box with a green background an the test "WebKit!" written in white.</p> | |
<target></target> | |
</body> | |
</html> |