blob: caeee92d55bec70c439409f0e08f5a9bb7adb388 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>:before with ::before</title>
<style type="text/css">
span:before { background-color: red; content: 'FAILED'; }
span::before { background-color: lime; content: 'PASSED'; }
</style>
<link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
<link rel="prev" href="css3-modsel-167a.html" title=":first-line with ::first-line">
<link rel="next" href="css3-modsel-168a.html" title=":before with ::before">
<link rel="last" href="css3-modsel-d4.html" title="Dynamic updating of :first-child and :last-child">
<link rel="up" href="./index.html">
<link rel="top" href="../../index.html">
</head>
<body>
<p>This test has <span></span>.</p>
<p>(If the previous line just reads &quot;This test has .&quot; then this test has failed.)</p>
</body>
</html>