Index: third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout-expected.txt |
index 02101c9c704c5903c1371bbf6b95711ca48441de..a6ee00781e8a67a05daea5d9d232d0113730276e 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout-expected.txt |
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout-expected.txt |
@@ -7,9 +7,9 @@ |
showModal() should center in the viewport. |
PASS dialog.getBoundingClientRect().top is centeredTop |
-The computed top and bottom of a centered dialog should still have position auto. |
-PASS window.getComputedStyle(dialog).top is "auto" |
-PASS window.getComputedStyle(dialog).bottom is "auto" |
+The dialog is a positioned element, so the top and bottom should not have style auto. |
+PASS window.getComputedStyle(dialog).top is "790px" |
+PASS window.getComputedStyle(dialog).bottom is "-210px" |
Dialog should be recentered if showModal() is called after close(). |
PASS dialog.getBoundingClientRect().top is centeredTop |