From 9dba6cd0a7cc6547352316728cc68c3db6f17416 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Tue, 2 Dec 2014 20:24:07 +0000 Subject: [PATCH] Editor, DFW v2: use a 2D transform to force repaint of the admin toolbar, only on `#wp-toolbar`. Fixes calculating the position of the right sidebar on fade-in and removes any performance and stacking implications. Props joemcgill, see #30516. git-svn-id: https://develop.svn.wordpress.org/trunk@30710 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/edit.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css index 59cb657542..66d42d1148 100644 --- a/src/wp-admin/css/edit.css +++ b/src/wp-admin/css/edit.css @@ -1283,7 +1283,10 @@ table.links-table { transition-property: opacity; -webkit-transition-timing-function: ease-in-out; transition-timing-function: ease-in-out; - transform: translateZ(0); +} + +.focus-off #wp-toolbar { + -webkit-transform: translate(0, 0); } .focus-on #adminmenuback,