mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 20:57:43 -10:00
16 lines
573 B
XML
16 lines
573 B
XML
<csstest def=":before with ::before" module="W3C Selectors" modulename="css3-modsel" number="168a" rev="1.0" date="1-january-2001" xmlns="http://www.example.org/css3tests">
|
|
|
|
<author>Ian Hickson</author>
|
|
|
|
<cssrules>
|
|
span::before { background-color: red; content: 'FAILED'; }
|
|
span:before { 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>
|