| Index: LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-relative.html
|
| diff --git a/LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-relative.html b/LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-relative.html
|
| index d15e76286d937ae6167a4c6c8adae303949c2665..06cf7b07192fa6c620b26c3dd0fb88a131d07cd0 100644
|
| --- a/LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-relative.html
|
| +++ b/LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-relative.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 'relative' 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');
|
|
|