https://github.com/web-platform-tests/wpt
Raw File
Tip revision: fced01876b48e034b64d9dad6de14d1bdeba3cc0 authored by Daniel Cheng on 12 April 2018, 12:08:45 UTC
Return null from contentDocument/getSVGDocument() for cross-origin documents.
Tip revision: fced018
css3-modsel-82.xml
<csstest def="NEGATED :only-of-type pseudo-class" module="W3C Selectors" modulename="css3-modsel" number="82" rev="1.1" date="12-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>
<cssrules>.red { background-color : red }
.t1 *:not(:only-of-type) { background-color : lime }
</cssrules>
<code>
<div class="t1" xmlns="http://www.w3.org/1999/xhtml">
<p class="red">This paragraph should have green background.</p>
<address>But this address should be unstyled.</address>
<p class="red">This paragraph should have green background.</p>
</div>
</code>
</csstest>
back to top