+
+ // Regression test: check that graph remains visible after no-op resize.
+ g.resize();
+ var x = Math.floor(g.toDomXCoord(2));
+ var y = Math.floor(g.toDomYCoord(200));
+ assertEquals("Unexpected grid color found at pixel: x: " + x + " y: " + y,
+ [0, 128, 128, 255], Util.samplePixel(g.hidden_, x, y));