https://github.com/web-platform-tests/wpt
Raw File
Tip revision: d667dfe87079b7acf0d9ec69afd1158e5f7fde8a authored by Rob Buis on 12 April 2018, 16:14:10 UTC
Fix regression allowing text value for -webkit-background-origin
Tip revision: d667dfe
css3-modsel-77.xml
<csstest def="NEGATED :first-child pseudo-class" module="W3C Selectors" modulename="css3-modsel" number="77" rev="1.1" date="3-march-2004" 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 td:not(:first-child) { background-color : lime }
p &gt; *:not(:first-child) { background-color : lime }
table.t1 td { border : thin black solid }
</cssrules>

<code>
 <div xmlns="http://www.w3.org/1999/xhtml">
  <table class="t1" border="1">
   <tr>
    <td>1.1</td>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
   </tr>
   <tr>
    <td>2.1</td>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
   </tr>
   <tr>
    <td>3.1</td>
    <td class="red">green cell</td>
    <td class="red">green cell</td>
   </tr>
 </table>
 </div>
 <p xmlns="http://www.w3.org/1999/xhtml">This paragraph <span>should be</span> unstyled.</p>
</code>
</csstest>
back to top