Skip to content

Instantly share code, notes, and snippets.

@mcayland
mcayland / highcharts-3.0.4-ie8-fix.patch
Last active December 21, 2015 04:29
HighCharts 3.0.4 IE8 createStyleSheet() fix
--- highcharts-3.0.4.js 2013-08-15 17:18:55.000000000 +0100
+++ highcharts.js 2013-09-16 17:03:19.000000000 +0100
@@ -5056,11 +5056,22 @@
doc.namespaces.add('hcv', 'urn:schemas-microsoft-com:vml');
- // setup default css
- doc.createStyleSheet().cssText =
- 'hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke' +
- '{ behavior:url(#default#VML); display: inline-block; } ';