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-169a.xml
<csstest def=":after with ::after" module="W3C Selectors" modulename="css3-modsel" number="169a" rev="1.0" date="1-january-2001" xmlns="http://www.example.org/css3tests">

<author>Ian Hickson</author>

<cssrules>
  span::after { background-color: red; content: 'FAILED'; }
  span:after { background-color: lime; content: 'PASSED'; }
</cssrules>

<code>
   <p xmlns="http://www.w3.org/1999/xhtml">This test has <span/>.</p>
   <p xmlns="http://www.w3.org/1999/xhtml">(If the previous line just reads "This test has ." then this test has failed.)</p>
</code>

</csstest>
back to top