| 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 b05e74ac0eba775f2b5cd942785ca7bc64b7af58..bab9fe352084350d44de11ecf861eac1954ac2b3 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,14 +40,11 @@ reset();
|
| }());
|
|
|
| (function() {
|
| - debug('<br>The dialog is a positioned element, so the top and bottom should not have style auto.');
|
| + debug('<br>The computed top and bottom of a centered dialog should still have position auto.');
|
|
|
| - dialog.style.height = '20px';
|
| dialog.showModal();
|
| - shouldBeEqualToString('window.getComputedStyle(dialog).top', '290px');
|
| - shouldBeEqualToString('window.getComputedStyle(dialog).bottom', '290px');
|
| -
|
| - dialog.style.height = 'auto';
|
| + shouldBeEqualToString('window.getComputedStyle(dialog).top', 'auto');
|
| + shouldBeEqualToString('window.getComputedStyle(dialog).bottom', 'auto');
|
| reset();
|
| }());
|
|
|
|
|