Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome 18 rendering artifacts around form elements

After upgrading to Chrome 18 on OSX 10.7.3, we started noticing fleeting rendering artifacts seemingly related to form elements:

enter image description here

They come and go during scrolling, it seems. I've been testing in a variety of other OS/Browser environments and have been unable to reproduce this, nor had it happened in previous versions of Chrome.

This is a mature, stable web app with fairly complicated HTML/CSS. I haven't been able to produce a simple test fiddle that reproduces this.

Anyone else seeing issues? Can you think of a possible HTML/CSS cause and not a Chrome bug?

like image 214
peteorpeter Avatar asked Jan 31 '26 15:01

peteorpeter


1 Answers

I also noticed that Chrome 18 displays artifacts in some pages, but this only happens when that page is GPU accelerated. I asked a similar question a few days ago:

GPU acceleration crashes website

Chrome enables the hardware acceleration when it detects 3D transforms in your CSS.

You can go to chrome://flags and enable the "Composited render layer borders" option, if you see green squares all around your page thats because some CSS rule is causing your page to be hardware accelerated. You can try removing any 3D CSS rules or assign a higher z-index to these elements. It usually helps.

like image 158
Cesar Canassa Avatar answered Feb 03 '26 05:02

Cesar Canassa