blob: 91f756b2cb0372897dc6e50a3de50338868ccc3d [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.internals)
internals.settings.setDialogElementEnabled(true);
</script>
<style>
dialog {
background: green;
border-color: green;
}
div {
display: table-column;
}
</style>
<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>
<dialog id="dialog"></dialog>
</div>
<script>
document.getElementById('dialog').showModal();
</script>
</body>
</html>