From de3bbd2feb95be24661a00873e438fc24d445850 Mon Sep 17 00:00:00 2001 From: sefeng Date: Thu, 9 Jul 2020 19:46:44 +0000 Subject: [PATCH] Bug 1651089 - Use transform instead of translate to position dialog r=emilio Differential Revision: https://phabricator.services.mozilla.com/D82538 --- layout/style/res/html.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }