Is there a -webkit-backface break in the Chrome browser today?

I am a bit confused because my project worked yesterday, but it seems today does not work correctly. (Yes, I checked previous versions from git.)

Problem: some divs previously hidden with -webkit-backface-visibility: hidden; magically appeared. I highlighted this problem in the fiddle:

http://jsfiddle.net/Js6cg/1/

The div is displayed in Chrome at 23.0.1271.64 m (incorrect), but is hidden at 25.0.1326.0 canary (as I expected).

Can you confirm that this is really a bug in Chrome, or am I using CSS incorrectly?

(I updated my GPU drivers (AMD Catalyst) from 12.8 to 12.10 today, if that matters.)


In addition, the site demonstrating the effect that I reproduced seems to work + - correctly in Chrome stable (except for the effortlessly ignoring -webkit-perspective and animating the look intermittent), while Chrome canary does it very well and accepts the perspective. I'm confused.

+2
source share
1 answer

OK, this is embarrassing.

The story goes like this: I updated the GPU drivers, but it looks like I actually have not restarted Chrome for ages. For some reason, it was unable to re-enable the GPU layout after updating the driver and, therefore, some of the more advanced CSS3 effects (such as perspective and backface-visibility ) did not work at all, while simple conversions used a backup CPU implementation that also made them look messy on the demo site.

I started using Chrome Canary after updating the driver, so it had no problems with the GPU layout. One instance worked, the other did not, but the version mismatch didn’t matter at all.

Restarting Chrome fixed this problem. And I'm taking a break!

0
source

Source: https://habr.com/ru/post/1241930/


All Articles