https://github.com/web-platform-tests/wpt
Raw File
Tip revision: a967a92aba4c779546abfb51de01e29972f9a82a authored by Anne van Kesteren on 05 February 2018, 09:22:44 UTC
add some tests (don't address all lint nits just yet)
Tip revision: a967a92
css3-modsel-14e.xml
<csstest def="NEGATED More than one class selector" module="W3C Selectors" modulename="css3-modsel" number="14e" rev="1.0" date="6-december-2002" 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>Ian Hickson</author>

<cssrules>
p { background: green; color: white; }
p:not(.t1):not(.t2) { background: red; color: yellow; }
div { background: red; color: yellow; }
div:not(.t1) { background: green; color: white; }
address { background: green; color: white; }
address:not(.t5):not(.t5) { background: red; color: yellow; }
</cssrules>

<code>
  <p class="t1 t2" xmlns="http://www.w3.org/1999/xhtml">This line should be green.</p>
  <div class="t3" xmlns="http://www.w3.org/1999/xhtml">This line should be green.</div>
  <address class="t4 t5 t6" xmlns="http://www.w3.org/1999/xhtml">This line should be green.</address>
</code>

</csstest>
back to top