blob: 43d09758df4db4ee54ffb32ebb42d1b0ade6aaa0 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
dialog {
background: green;
border-color: green;
}
</style>
</head>
<body>
<p>Bug <a href="http://webkit.org/b/103477">103477</a>: Make
NodeRenderingContext::parentRenderer and nextRenderer top layer aware
<p>The test passes if you see a green rectangle in the center of the viewport.
<div style="display: none" id="div"></div>
<dialog id="dialog"></dialog>
<script>
document.getElementById('dialog').showModal();
document.getElementById('dialog').offsetTop; // force a layout/renderer creation
document.getElementById('div').style.display = 'block';
</script>
</body>
</html>