Index: third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/fixpos-dialog-layout.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/fixpos-dialog-layout.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/fixpos-dialog-layout.html |
index bab9fe352084350d44de11ecf861eac1954ac2b3..27664916c1951e4475d9b2bdb7453df9b4c6d45f 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/fixpos-dialog-layout.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/fixpos-dialog-layout.html |
@@ -40,11 +40,11 @@ reset(); |
}()); |
(function() { |
- debug('<br>The computed top and bottom of a centered dialog should still have position auto.'); |
+ debug('<br>The dialog is a positioned element, so the top and bottom should not have style auto.'); |
dialog.showModal(); |
- shouldBeEqualToString('window.getComputedStyle(dialog).top', 'auto'); |
- shouldBeEqualToString('window.getComputedStyle(dialog).bottom', 'auto'); |
+ shouldBeEqualToString('window.getComputedStyle(dialog).top', '290px'); |
+ shouldBeEqualToString('window.getComputedStyle(dialog).bottom', '290px'); |
reset(); |
}()); |