To reproduce ariya/phantomjs#12358 .
A Pen by Chris Chua on CodePen.
var page = require('webpage').create(); | |
page.open('http://codepen.io/chrisirhc/full/xfhbo', function() { | |
console.log('Script never gets here on PhantomJS 1.9.7'); | |
phantom.exit(); | |
}); |
var svg = d3.select(document.body).append("svg:svg") | |
.attr("width", 960) | |
.attr("height", 500) | |
; | |
var path = svg.append('svg:path') | |
// Comment out any of the following four lines | |
.attr('d', 'M448,25L801,25') | |
.style('stroke', '#666') | |
.style('stroke-width', 0) | |
.style('stroke-dasharray', '2 1') | |
; |
To reproduce ariya/phantomjs#12358 .
A Pen by Chris Chua on CodePen.