()
| 229 | } |
| 230 | |
| 231 | function insertStyle() { |
| 232 | if (inMode === 'next') { |
| 233 | if (element.nextSibling !== syncStyle) { |
| 234 | element.parentNode!.insertBefore(syncStyle!, element.nextSibling); |
| 235 | } |
| 236 | } else if (inMode === 'away') { |
| 237 | injectStyleAway(syncStyle!); |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | function createSyncStyle() { |
| 242 | syncStyle = element instanceof SVGStyleElement ? |
no test coverage detected