blob: d6c3832851095e169aeedece139b3caf373394f5 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
</head>
<body>
This test makes sure repaint rects are correct for positioned underlines. The test passes if you don't see anything below.
<div id="target" style="font: 48px 'Times'; text-decoration: underline; text-underline-offset: 100px;">Hello</div>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
window.setTimeout(function() {
let target = document.getElementById("target");
target.parentElement.removeChild(target);
if (window.testRunner)
testRunner.notifyDone();
}, 20);
</script>
</body>
</html>