Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout.html |
| index 957197bb3bf68f84b0451dc342f347d04bb239f3..477cfa2be90cadccfaab292cf5ee92c8425e0d14 100644 |
| --- a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout.html |
| +++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/abspos-dialog-layout.html |
| @@ -35,11 +35,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', '790px'); |
|
mstensho (USE GERRIT)
2016/04/04 09:13:26
Yes, I think this is reasonable and correct behavi
Mr. Kevin
2016/04/04 17:35:22
Acknowledged.
|
| + shouldBeEqualToString('window.getComputedStyle(dialog).bottom', '-210px'); |
| reset(); |
| }()); |