Skip to content

Commit

Permalink
Dialog should not still be centered when removed and re-added to the …
Browse files Browse the repository at this point in the history
…document

Update the testcase to align with whatwg/html#6216
  • Loading branch information
sefeng211 committed Mar 11, 2021
1 parent 7a9388b commit bf05dc6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bf05dc6

Please sign in to comment.