Add comment to resize test case as a follow on to pull request 260.
authorRobert Konigsberg <konigsberg@google.com>
Tue, 11 Jun 2013 20:29:42 +0000 (16:29 -0400)
committerRobert Konigsberg <konigsberg@google.com>
Tue, 11 Jun 2013 20:29:42 +0000 (16:29 -0400)
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 = '';