A selector should not match anything if there is a subselector after a non-scrollbar...
[WebKit-https.git] / LayoutTests / fast / css / duplicated-after-pseudo-element.html
1 <!doctype html>
2 <html>
3 <head>
4     <style>
5         target::after {
6             content:"WebKit!";
7             color: white;
8             background-color: green;
9         }
10         target::after::after, ::after::after, target::after::after::after, ::after::after::after {
11             background-color: red;
12             color: black;
13         }
14     </style>
15 </head>
16 <body>
17     <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>
18     <target></target>
19 </body>
20 </html>