diff --git a/layout/style/res/html.css b/layout/style/res/html.css index 409110132a52..c79b6534f14d 100644 --- a/layout/style/res/html.css +++ b/layout/style/res/html.css @@ -844,7 +844,7 @@ dialog:-moz-modal-dialog { max-height: 100vh; max-width: 100vw; top: 50%; - translate: 0 -50%; + transform: translateY(-50%); overflow: auto; }