spreadsheet icon indicating copy to clipboard operation
spreadsheet copied to clipboard

IE11: insertRule upper limit check (32678)

Open vaadin-bot opened this issue 8 years ago • 2 comments

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

vaadin-bot avatar Oct 29 '15 22:10 vaadin-bot