<!DOCTYPE html>
<html>
 <head>
  <style type="text/css">
   p:first-letter {
    float: left;
   }
  </style>
  <title>a first-letter testcase</title>
  <script type="text/javascript">
  window.onload = function() {
   document.getElementsByTagName("style")[0].disabled = true;
  }
  </script>
 </head>
 <body>
  <p>Lorem ipsum dolor sit amet.</p>
 </body>
</html>