blob: c5cc4acbb2fd1cb4e2a47d1bfa4e9cb76e98c692 [file] [log] [blame]
<!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>