Add comment to resize test case as a follow on to pull request 260.
[dygraphs.git] / auto_tests / tests / resize.js
index 4762892..3ce99ad 100644 (file)
@@ -83,6 +83,8 @@ ResizeTestCase.prototype.testHiddenDivWithResize = function() {
   div.style.width = '400px';
   div.style.height = '300px';
 
+  // Setting strokeWidth 3 removes any ambiguitiy from the pixel sampling
+  // request, below.
   var g = new Dygraph(div, ResizeTestCase.data, {strokeWidth: 3});
   div.style.display = '';