https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 57a82af3537d05ffe7b022c53939e6fb54895c6c authored by Stephen McGruer on 04 April 2018, 19:41:56 UTC
Web Animations: Fix bug with Document::getAnimations
Tip revision: 57a82af
css3-modsel-66.xml
<csstest def="NEGATED :target pseudo-class" module="W3C Selectors" modulename="css3-modsel" number="66" rev="1.2" date="30-august-2005" 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>

<userinteraction/>

<cssrules>p { background-color: navy; color: white; }
p:not(:target) { background-color: white; color: black; }</cssrules>
<code>
<p id="first" xmlns="http://www.w3.org/1999/xhtml">This paragraph should be unstyled.
       The background of the following paragraph should become blue when
       you follow <a href="#second">this link</a>.</p>
<p id="second" xmlns="http://www.w3.org/1999/xhtml">This paragraph should initially be unstyled.
       It should become blue when you select the link above. When you select
       <a href="#third">this link</a>, it should return to being unstyled and the
       background of the paragraph below should become blue.</p>
<p id="third" xmlns="http://www.w3.org/1999/xhtml">This paragraph should initially be unstyled.
       It should become blue when you select the link above. When you follow
       <a href="#missing">this link</a>, the three paragraphs
       should all return to being unstyled.</p>
</code>
</csstest>
back to top