From fd8db4f282c6943672584ffe9d3c30c4df7714c7 Mon Sep 17 00:00:00 2001 From: Min RK Date: Thu, 29 Jan 2015 11:31:24 -0800 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). --- IPython/html/static/base/less/page.less | 6 ------ IPython/html/static/style/style.min.css | 5 ----- 2 files changed, 11 deletions(-) diff --git a/IPython/html/static/base/less/page.less b/IPython/html/static/base/less/page.less index 88acff76a..ddc7d9855 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 ec11e466a..c56c48731 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;