https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 0cb962b995d06ee5a8e581277aa7906b039563af authored by Anne van Kesteren on 29 March 2018, 12:32:41 UTC
document.open() and the load event
Tip revision: 0cb962b
css3-modsel-17.xml
<csstest def=":visited pseudo-class" module="W3C Selectors" modulename="css3-modsel" number="17" rev="1.1" date="01-november-2001" xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.example.org/css3tests">

<author>Daniel Glazman</author>
<author>Ian Hickson</author>

<historyneeded/>

<cssrules>p.test a { background-color : red }
p.test *:visited { background-color : lime }</cssrules>

<code>
<p class="test" xmlns="http://www.w3.org/1999/xhtml">
<a href="http://www.w3.org/">You should see a green background assigned by the anchor.</a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
</p>
</code>
</csstest>
back to top