Ian Hickson .warning { color: navy; } div { color: red; } #Aone#Atwo, #Aone#Athree, #Atwo#Athree { color: green; } p { color: green; } #Bone#Btwo, #Bone#Bthree, #Btwo#Bthree { color: red; } #Cone#Ctwo, #Cone#Cthree, #Ctwo#Cthree { color: red; } #Done#Dtwo, #Done#Dthree, #Dtwo#Dthree { color: red; }

This test requires support for two or more of XHTML, xml:id, and DOM3 Core.

This line should be green.

This line should be green.

This line should be green.

This line should be green.