Commit 39b9b65
Simon Tran
fix: guard against empty ResizeObserver size arrays
prevents TypeError when `contentBoxSize` or `borderBoxSize` arrays
are empty in certain browser implementation or edge cases.1 parent 836039f commit 39b9b65
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments