Modernizr/Modernizr — pull request #462 by drewcovi (2012-01-05 19:49:06+00:00)
Title: csstransforms3d fix for chrome win xp w/o 3d acceleration.

We hit a false positive on csstransforms3d when a client had chrome installed on an older machine without 3d acceleration. huge thanks to desandro. He used some modernizr code to detect 3d and his example, and now it seems some tweaks are making their way back @

http://desandro.github.com/3dtransforms/examples/perspective-03.html

In a VM without 3d Acceleration, this test fails, same VM with 3d Acceleration enabled passes.

NOTE: I've added an offsetHeight test, and didn't want to replace anything, since I was unaware of why offsetLeft or a value of 9 was used originally.