From 3c8bb3801eccc540f8c2abbc6c5375bb4db4745e Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 14 Sep 2018 13:48:07 +0100 Subject: [PATCH] Turn off CSS transforms after toolbar has been opened Leaving this property applied seemingly triggers strange rendering bugs in Safari. Bug: T202935 Change-Id: I65e742918c3670b99cf05efb4722a0c23a9347f5 --- .../ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.css b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.css index 40191e8bdf..67f98f8aea 100644 --- a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.css +++ b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.css @@ -26,6 +26,11 @@ opacity: 1; } +.ve-init-mw-desktopArticleTarget-toolbar-opened > .oo-ui-toolbar-bar { + /* Turn off transforms when done to avoid Safari rendering bugs (T202935) */ + transform: none; +} + .ve-tempSourceEditing .ve-init-mw-desktopArticleTarget-toolbar, .ve-tempSourceEditing .ve-init-mw-desktopArticleTarget-toolbar > .oo-ui-toolbar-bar { transition: none;