diff --git a/core/grid.js b/core/grid.js index c8b2e254e..781bf2299 100644 --- a/core/grid.js +++ b/core/grid.js @@ -219,6 +219,9 @@ Blockly.Grid.createDom = function(rnd, gridOptions, defs) { {'stroke': gridOptions['colour']}, gridPattern); } // x1, y1, x1, x2 properties will be set later in update. + } else { + // Edge 16 doesn't handle empty patterns + Blockly.utils.createSvgElement('line', {}, gridPattern); } return gridPattern; };