Skip to content

Instantly share code, notes, and snippets.

@danbeam
Created April 12, 2011 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danbeam/916151 to your computer and use it in GitHub Desktop.
Save danbeam/916151 to your computer and use it in GitHub Desktop.
See if a transform actually causes reflow
// Go to - https://developer.mozilla.org/en/css/-moz-transform
// Go to timeline view
// Copy/pasta into URL bar
javascript:(function(){var a=document.getElementsByTagName('pre')[1];a.style.WebkitTransform=a.style.WebkitTransform.replace('rotate(20deg)', 'rotate(90deg)');setTimeout(function(){a.style.position='absolute';},1000);}());
// Start timeline
// Run JS from awesome bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment