| 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..e88d8f3f32e6e2467173d81a3d7f33b3e78bedc8 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,14 @@
|
| }());
|
|
|
| (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.style.height = '20px';
|
| dialog.showModal();
|
| - shouldBeEqualToString('window.getComputedStyle(dialog).top', 'auto');
|
| - shouldBeEqualToString('window.getComputedStyle(dialog).bottom', 'auto');
|
| + shouldBeEqualToString('window.getComputedStyle(dialog).top', '790px');
|
| + shouldBeEqualToString('window.getComputedStyle(dialog).bottom', '-210px');
|
| +
|
| + dialog.style.height = 'auto';
|
| reset();
|
| }());
|
|
|
|
|