summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/23604-1.html
blob: 14d3cfa70457060029936b6c100c2c244571cab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html class="reftest-wait">
  <head>
    <style type="text/css">
      p:first-line   { font-family: monospace }
      p:first-letter { font-family: sans-serif }
    </style>
    <script>
      function tweak() {
        document.body.style.background = 'lightblue';
        document.documentElement.className = "";
      }
    </script>
  </head>
  <body onload="tweak();">
    <p style="width: 100px"><span>The first letter of this paragraph should be
        in sans-serif while the first-line should be in monospace.</span></p>
  </body>
</html>