<!DOCTYPE HTML>
<html>
<head>
    <script>
        if (window.testRunner)
            testRunner.dumpAsText(true);
    </script>
    <link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
    <p>Test if out of flow boxes are ignored when calculating the offset for
    'text-underline-position: under'. The horizontal line below should not go
    outside the box. Bugzilla link: http://webkit.org/b/102795.</p>

    <div class="under">
        &nbsp;1 lorem ipsum&nbsp;&nbsp;
        <span class="position_absolute">OutOfFlowPositioned</span>
        &nbsp;2 lorem ipsum&nbsp;&nbsp;
        </span>
    </div>
</body>
</html>
