21 lines
573 B
HTML
21 lines
573 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
.target {
|
|
display: block;
|
|
}
|
|
target1::before, target2 {
|
|
content:"WebKit!";
|
|
color: white;
|
|
background-color: green;
|
|
}
|
|
</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>
|
|
<target1 class="target" id="target"></target1>
|
|
<target2 class="target" id="target"></target2>
|
|
</body>
|
|
</html>
|