168a.html   [plain text]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
  <title>:before with ::before</title>
  <style type="text/css">
  span::before { background-color: red; content: 'FAILED'; }
  span:before { background-color: lime; content: 'PASSED'; }
  <link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
  <link rel="prev" href="css3-modsel-168.html" title=":before with ::before">
  <link rel="next" href="css3-modsel-169.html" title=":after with ::after">
  <link rel="last" href="css3-modsel-d5e.html" title="NEGATED :indeterminate with :checked">
  <link rel="up" href="./index.html">
  <link rel="top" href="../../index.html">
   <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>