csstransforms3d false negative in Webkit #740

Closed
simonschuh opened this Issue Nov 2, 2012 · 1 comment

Projects

None yet

2 participants

I just had an issue with false negatives for 3D-transforms in all webkit-browsers.
Figured out that the problem was I added padding to all divs (with margin it's the same).
I guess the tests for offsets fail.
Here is a jsfiddle: http://jsfiddle.net/yGqxw/

So i don't know if it is a bug or maybe there is no other way to test for 3d transforms.
But it took me a while to figure out why the test stopped working.

Owner

Good find, seems we'll need to reset the margin, padding and borders to mitigate this if Modernizr is loaded inside the body.

@ryanseddon ryanseddon closed this in d7c7393 Nov 3, 2012
@SlexAxton SlexAxton added a commit to SlexAxton/Modernizr that referenced this issue Nov 5, 2012
@SlexAxton SlexAxton Merge branch 'master' of github.com:Modernizr/Modernizr
* 'master' of github.com:Modernizr/Modernizr:
  Fixed false positive of 3d transforms if test element inherits margin, padding or border, fixes #740
  Fix false negative in Android 4, fixes #738
  Update feature-detects/exif-orientation.js
  Trim trailing whitespace and insert final newlines
a9e4139
@patrickkettner patrickkettner pushed a commit to patrickkettner/Modernizr that referenced this issue Feb 22, 2015
@ryanseddon ryanseddon Fixed false positive of 3d transforms if test element inherits margin…
…, padding or border, fixes #740
eb02e83
@patrickkettner patrickkettner pushed a commit to patrickkettner/Modernizr that referenced this issue Feb 22, 2015
@SlexAxton SlexAxton Merge branch 'master' of github.com:Modernizr/Modernizr
* 'master' of github.com:Modernizr/Modernizr:
  Fixed false positive of 3d transforms if test element inherits margin, padding or border, fixes #740
  Fix false negative in Android 4, fixes #738
  Update feature-detects/exif-orientation.js
  Trim trailing whitespace and insert final newlines
5c1e160
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment