/* Source: http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/css3-modsel-17.html */ p.test a { background-color : red } p.test *:visited { background-color : lime }