Commit 0145d1a
committed
Revert 06-single-stylesheet.patch due to various issues
- example 'example-multi-grid-basic.html' was added to show two grids on a page
- test '40 grids on a page test.html' was added to allow the problem in IE to be demonstrated consistently
- we would like to use a single stylesheet for all grids on page rather than adding a new stylesheet per grid
- this would get around the 31 stylesheet limitation in IE7-9
PROBLEMS:
- modifying an existing stylesheet in chrome clears and regenerates all the DOM nodes for that stylesheet from scratch
- this clears the cached references to the column styles for any previously initialised grids
- since the CSS styles are added and cached in the final stage of initialisation, we can't fix this by delaying final init
- this would take major rearchitecting of the init process to fix
- note that IE does not reset all the existing nodes so doesn't have this problem
SO
- the first attempted fix was to have one stylesheet in IE and go back to multiple stylesheets for other browsers
BUT:
- the single-stylesheet approach in IE renders fine, but column resizing fails in IE8 with 'permission denied' on all but the first grid
- it appears this is a CORS-relates issue. I note the href is null for inline stylesheets. Not sure if this has an impact.
So in the final analysis, the best option is to revert back to the way it was originally and live with the IE7-9 31 stylesheet limitation
- IE 10+ does not have this limitation anyway1 parent 2ba0eda commit 0145d1a
File tree
3 files changed
+403
-6
lines changed- examples
- tests
3 files changed
+403
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
949 | 949 | | |
950 | 950 | | |
951 | 951 | | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
| 952 | + | |
957 | 953 | | |
958 | 954 | | |
959 | 955 | | |
| |||
969 | 965 | | |
970 | 966 | | |
971 | 967 | | |
972 | | - | |
| 968 | + | |
973 | 969 | | |
974 | 970 | | |
975 | 971 | | |
| |||
0 commit comments