From d85c0dab74d3af916dca623750a0d91ccf6f67ea Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Tue, 27 Mar 2018 16:22:50 -0700 Subject: [PATCH] Fix #1484 --- core/grid.js | 3 +++ 1 file changed, 3 insertions(+) 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; };