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.
Built from https://develop.svn.wordpress.org/trunk@30710


git-svn-id: http://core.svn.wordpress.org/trunk@30700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-12-02 20:25:24 +00:00
parent 1cb6721c81
commit ab2c480d86
5 changed files with 11 additions and 5 deletions

View File

@ -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,

View File

@ -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,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-beta2-30709';
$wp_version = '4.1-beta2-30710';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.