Index: LayoutTests/fast/dom/HTMLDialogElement/non-anchored-dialog-positioning-expected.txt |
diff --git a/LayoutTests/fast/dom/HTMLDialogElement/non-anchored-dialog-positioning-expected.txt b/LayoutTests/fast/dom/HTMLDialogElement/non-anchored-dialog-positioning-expected.txt |
index 3570259b50f2ab34ef651171aafc2ec84591957c..6c2d40ab03254e107e87dbee895e0a9ed975eacd 100644 |
--- a/LayoutTests/fast/dom/HTMLDialogElement/non-anchored-dialog-positioning-expected.txt |
+++ b/LayoutTests/fast/dom/HTMLDialogElement/non-anchored-dialog-positioning-expected.txt |
@@ -1,4 +1,4 @@ |
-Tests default positioning of non-anchored dialogs. |
+Tests positioning of non-anchored dialogs. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
@@ -42,22 +42,22 @@ Dialog should not be centered if show() was called when an ancestor had display |
PASS dialog.getBoundingClientRect().top is expectedTop |
Test that setting 'top' on dialog results in the same position as for a plain, absolutely positioned span. |
-PASS dialog.offsetTop is plainSpan.offsetTop |
-PASS dialog.offsetTop is plainSpan.offsetTop |
+PASS dialog.getBoundingClientRect().top is expectedTop |
+PASS dialog.getBoundingClientRect().top is expectedTop |
Test that setting 'bottom' on dialog results in the same position as for a plain, absolutely positioned span. |
-PASS dialog.offsetBottom is plainSpan.offsetBottom |
-PASS dialog.offsetBottom is plainSpan.offsetBottom |
+PASS dialog.getBoundingClientRect().bottom is plainSpan.getBoundingClientRect().bottom |
+PASS dialog.getBoundingClientRect().bottom is plainSpan.getBoundingClientRect().bottom |
Test that fixed positioning for dialog has same behavior as for a plain span. |
-PASS dialog.offsetTop is plainSpan.offsetTop |
-PASS dialog.offsetTop is plainSpan.offsetTop |
+PASS dialog.getBoundingClientRect().top is plainSpan.getBoundingClientRect().top |
+PASS dialog.getBoundingClientRect().top is plainSpan.getBoundingClientRect().top |
Test that static position for a non-modal dialog has the same behavior as for a plain span. |
-PASS dialog.offsetTop is expectedTop |
+PASS dialog.getBoundingClientRect().top is expectedTop |
Test that relative position for a non-modal dialog has the same behavior as for a plain span. |
-PASS dialog.offsetTop is expectedTop |
+PASS dialog.getBoundingClientRect().top is expectedTop |
PASS successfullyParsed is true |
TEST COMPLETE |