21 lines
607 B
HTML
21 lines
607 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
target::before {
|
|
content:"WebKit!";
|
|
color: white;
|
|
background-color: green;
|
|
}
|
|
target::before::before, ::before::before, target::before::before::before, ::before::before::before {
|
|
background-color: red;
|
|
color: black;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Verify that selectors with duplicated ::before 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>
|