<!DOCTYPE HTML> <html> <head> <meta charset='utf-8'> <title>dynamic sibling selector testcase</title> <style> #adjacent, #general { background: #cfc; } </style> </head> <body> <div> <div id="adjacent">PASS: You should see this</div> </div> <div> <div id="general">PASS: You should also see this</div> </div> </body> </html>