From c710e81aeb48ad980ab78eeeb7848f5aa16cfc90 2015-01-29 19:31:24 From: Min RK Date: 2015-01-29 19:31:24 Subject: [PATCH] remove translateZ hack while it does improve repaint performance on *some* setups (OS X+Chrome+Low-DPI), it seems to have no effect on most (OS X+FF, OS X+Chrome+High-DPI, Linux+Chrome), and the opposite effect on others (Linux+FF). --- diff --git a/IPython/html/static/base/less/page.less b/IPython/html/static/base/less/page.less index 88acff7..ddc7d98 100644 --- a/IPython/html/static/base/less/page.less +++ b/IPython/html/static/base/less/page.less @@ -79,12 +79,6 @@ body { } #site { - // avoid repaints on size with translateZ(0) - -webkit-transform: translateZ(0); - -moz-transform: translateZ(0); - -ms-transform: translateZ(0); - -o-transform: translateZ(0); - transform: translateZ(0); width: 100%; display: none; .border-box-sizing(); diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css index ec11e46..c56c487 100644 --- a/IPython/html/static/style/style.min.css +++ b/IPython/html/static/style/style.min.css @@ -8454,11 +8454,6 @@ body { height: 28px; } #site { - -webkit-transform: translateZ(0); - -moz-transform: translateZ(0); - -ms-transform: translateZ(0); - -o-transform: translateZ(0); - transform: translateZ(0); width: 100%; display: none; box-sizing: border-box;