<!DOCTYPE html>
<html>
  <head>
    <style>
      .inlineContainer {
        position: relative;
        display: inline;
      }
      #positioned {
        position: absolute;
      }
    </style>
    <script>
      if (window.testRunner)
        testRunner.dumpAsText();
      function runTest() {
        document.getElementById('positioned').innerHTML = 'PASSED';
      }
    </script>
  </head>
  <body onload="runTest()">
    <div class='inlineContainer'>
      <div>
        <div id='positioned'>FAILED</div>
      </div>
    </div>
  </body>
</html>
