Created
March 29, 2012 22:03
-
-
Save scameron/2244197 to your computer and use it in GitHub Desktop.
D3 transitions bug with new Chrome version.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> | |
<title>bar</title> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
<style type="text/css"> | |
table td { | |
border: 1px solid #BBB; | |
} | |
</style> | |
</head> | |
<body> | |
<table> | |
<tr> | |
<td></td> | |
</tr> | |
</table> | |
<script type="text/javascript"> | |
d3.select("td") | |
.append("svg") | |
.attr("width", "640") | |
.attr("height", "320") | |
.style("width", "1px") | |
.style("height", "1px") | |
.transition().duration(3000) | |
.style("width", "640px") | |
.style("height", "320px"); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment