diff --git a/html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html b/html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html index e5453d73ee86f1d..3421747b68f1203 100644 --- a/html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html +++ b/html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html @@ -155,8 +155,8 @@ dialog.remove(); relativeContainer.appendChild(dialog); - checkVerticallyCentered(dialog); -}, "Dialog should still be centered when removed, and re-added to the document."); + checkNotVerticallyCentered(dialog); +}, "Dialog should not still be centered when removed, and re-added to the document."); test(function() { this.add_cleanup(reset);