Index: LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-static.html |
diff --git a/LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-static.html b/LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-static.html |
index 320412f333fcb83b18c8c5d8b3901ae23d4f35d3..68f0179e619b29b57628defb839a3b1d797506c5 100644 |
--- a/LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-static.html |
+++ b/LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-static.html |
@@ -33,13 +33,14 @@ if (window.internals) |
left: 200px; |
} |
</style> |
+<script src="../../../resources/check-layout.js"></script> |
</head> |
-<body> |
+<body onload="checkLayout('dialog')"> |
<p>Bug <a href="http://webkit.org/b/106538">106538</a>: Top layer fails for inline elements |
<p>This tests that position 'static' computes to 'absolute' in the top layer. The test passes if you see a single green box.</p> |
<div id="left-div" class="green-box"></div> |
-<dialog id="middle-dialog" class="green-box"></dialog> |
-<dialog id="right-dialog" class="green-box"></dialog> |
+<dialog id="middle-dialog" class="green-box" data-offset-x="150" data-offset-y="100"></dialog> |
+<dialog id="right-dialog" class="green-box" data-offset-x="200" data-offset-y="100"></dialog> |
<script> |
document.getElementById('middle-dialog').showModal(); |
var rightDialog = document.getElementById('right-dialog'); |