spreadsheet
spreadsheet copied to clipboard
IE11: insertRule upper limit check (32678)
Originally by dvekeman
We have an excel file which we render using Vaadin Spreadsheet. It works fine in most browsers (Safari, Chrome on Win/Mac, Firefox on Win/Mac), except for Internet Explorer (IE 11 on W10).
We have little control over the Spreadsheet and we basically just render it, let the user change some values and that's it.
On IE11 the upper limit for the index of CSStylesheet.insertRule apparently is 32678 so this line
return stylesheet.sheet.insertRule(css, stylesheet.sheet.cssRules.length);
fails is length exceeds 32768.
Imported from https://dev.vaadin.com/ issue #19217
Originally by dvekeman
Attachment added: Screen+Shot+2015-10-29+at+23.22.50.png
(468.8 KiB)
https://trac-attachments.vaadin.com/trac/19217/Screen+Shot+2015-10-29+at+23.22.50.png
Do you have an example file which demonstrates the problem?