Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Modernizr.csstransforms3d false for Chrome 23 #760

Closed
tricki opened this Issue · 3 comments

4 participants

@tricki

Chrome Version: 23.0.1271.64 m

Example:
http://www.creativesandbox.com/guidebook

@Grhu

For me it only happens when site is zoomed to 25%, 50%, 75%, 125% or 150%. Google Chrome 23.0.1271.95.

@stucox stucox referenced this issue from a commit in stucox/Modernizr
@stucox stucox Tweaked csstransforms3d style test numbers to work around rounding bu…
…g in Chrome 23.0 when zoomed (#760)
535adf8
@stucox
Owner

I only see this at non-unity zoom levels too. Looks like a rounding bug in Chrome? The style test resulted in the test element being 1px off the height it was supposed to be; changing the numbers slightly makes it work (as shown in the pull request above)

Chrome clearly still supports 3D transforms at other zoom levels, so I think working around this to consistently give a positive test result makes sense, even if it appears there are some slight inaccuracies when zoomed.

@paulirish
Owner

fixed by #774

@paulirish paulirish closed this
@SlexAxton SlexAxton referenced this issue from a commit in SlexAxton/Modernizr
@stucox stucox Tweaked csstransforms3d style test numbers to work around rounding bu…
…g in Chrome 23.0 when zoomed (#760)
732fc36
@SlexAxton SlexAxton referenced this issue from a commit in SlexAxton/Modernizr
@SlexAxton SlexAxton Merge branch 'master' of github.com:Modernizr/Modernizr
* 'master' of github.com:Modernizr/Modernizr: (70 commits)
  Fixed a typo in `testMediaQuery()`
  Added wrapflow test, in AMD format - fixes #786
  Fixes missing brackets and removes unneeded "Pre 1.2" from the user agent regex ("webOS" already covers that).
  Corrected name for `touch` (to `touchevents`) in Modernizr-caniuse mapping
  Robustisize the binary WebSocket detect. Fixes #370
  Update detect for fullscreen api. Fixes #739
  Added DOM PointerEvents test as Modernizr.pointerevents
  Moved Modernizr.pointerevents -> Modernizr.csspointer events (API break...)
  Moved Modernizr.touch -> Modernizr.touchevents (kept an alias though)
  Matches #777 in v3 land.
  Matches #774 in v3 land.
  Matches #773 in v3 land.
  whitespace
  Adds 'peerconnection' feature detection, namespaces WebRTC features together
  Tweaked csstransforms3d style test numbers to work around rounding bug in Chrome 23.0 when zoomed (#760)
  Added fileinput test mobile UA blacklist for issue #772
  Added fileinput test mobile UA blacklist for issue #772
  adding docs from alex's email.
  whitespace
  SUPERSECRET MICROSOFT REQUESTED SENSORSHIP
  ...
1e08fdf
@SlexAxton SlexAxton referenced this issue from a commit in SlexAxton/Modernizr
@SlexAxton SlexAxton Merge branch '3pre'
* 3pre: (58 commits)
  fill up metadata a bit more, a few new conventions
  Saving full dependecies into package.json
  Removing node_modules, adding in metadata reader, ignoring generated metadata
  remove the node modules via an ignore
  Corrected name for `touch` (to `touchevents`) in Modernizr-caniuse mapping
  Robustisize the binary WebSocket detect. Fixes #370
  Update detect for fullscreen api. Fixes #739
  Added DOM PointerEvents test as Modernizr.pointerevents
  Moved Modernizr.pointerevents -> Modernizr.csspointer events (API break...)
  Moved Modernizr.touch -> Modernizr.touchevents (kept an alias though)
  Matches #777 in v3 land.
  Matches #774 in v3 land.
  Matches #773 in v3 land.
  whitespace
  Adds 'peerconnection' feature detection, namespaces WebRTC features together
  Tweaked csstransforms3d style test numbers to work around rounding bug in Chrome 23.0 when zoomed (#760)
  Added fileinput test mobile UA blacklist for issue #772
  Added fileinput test mobile UA blacklist for issue #772
  adding docs from alex's email.
  whitespace
  ...

Conflicts:
	config-all.json
	feature-detects/css/animations.js
	feature-detects/forms/fileinput.js
	modular.html
	package.json
6f92617
@patrickkettner patrickkettner referenced this issue from a commit in patrickkettner/Modernizr
@stucox stucox Tweaked csstransforms3d style test numbers to work around rounding bu…
…g in Chrome 23.0 when zoomed (#760)
35eab66
@patrickkettner patrickkettner referenced this issue from a commit in patrickkettner/Modernizr
@SlexAxton SlexAxton Merge branch 'master' of github.com:Modernizr/Modernizr
* 'master' of github.com:Modernizr/Modernizr: (70 commits)
  Fixed a typo in `testMediaQuery()`
  Added wrapflow test, in AMD format - fixes #786
  Fixes missing brackets and removes unneeded "Pre 1.2" from the user agent regex ("webOS" already covers that).
  Corrected name for `touch` (to `touchevents`) in Modernizr-caniuse mapping
  Robustisize the binary WebSocket detect. Fixes #370
  Update detect for fullscreen api. Fixes #739
  Added DOM PointerEvents test as Modernizr.pointerevents
  Moved Modernizr.pointerevents -> Modernizr.csspointer events (API break...)
  Moved Modernizr.touch -> Modernizr.touchevents (kept an alias though)
  Matches #777 in v3 land.
  Matches #774 in v3 land.
  Matches #773 in v3 land.
  whitespace
  Adds 'peerconnection' feature detection, namespaces WebRTC features together
  Tweaked csstransforms3d style test numbers to work around rounding bug in Chrome 23.0 when zoomed (#760)
  Added fileinput test mobile UA blacklist for issue #772
  Added fileinput test mobile UA blacklist for issue #772
  adding docs from alex's email.
  whitespace
  SUPERSECRET MICROSOFT REQUESTED SENSORSHIP
  ...
de69132
@patrickkettner patrickkettner referenced this issue from a commit in patrickkettner/Modernizr
@SlexAxton SlexAxton Merge branch '3pre'
* 3pre: (58 commits)
  fill up metadata a bit more, a few new conventions
  Saving full dependecies into package.json
  Removing node_modules, adding in metadata reader, ignoring generated metadata
  remove the node modules via an ignore
  Corrected name for `touch` (to `touchevents`) in Modernizr-caniuse mapping
  Robustisize the binary WebSocket detect. Fixes #370
  Update detect for fullscreen api. Fixes #739
  Added DOM PointerEvents test as Modernizr.pointerevents
  Moved Modernizr.pointerevents -> Modernizr.csspointer events (API break...)
  Moved Modernizr.touch -> Modernizr.touchevents (kept an alias though)
  Matches #777 in v3 land.
  Matches #774 in v3 land.
  Matches #773 in v3 land.
  whitespace
  Adds 'peerconnection' feature detection, namespaces WebRTC features together
  Tweaked csstransforms3d style test numbers to work around rounding bug in Chrome 23.0 when zoomed (#760)
  Added fileinput test mobile UA blacklist for issue #772
  Added fileinput test mobile UA blacklist for issue #772
  adding docs from alex's email.
  whitespace
  ...

Conflicts:
	config-all.json
	feature-detects/css/animations.js
	feature-detects/forms/fileinput.js
	modular.html
	package.json
c801ba2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.