()
| 252 | const tagName = attribute.tagName || 'div'; |
| 253 | |
| 254 | function createContainer() { |
| 255 | if (containerTagName === 'svg') { |
| 256 | return document.createElementNS('http://www.w3.org/2000/svg', 'svg'); |
| 257 | } else if (containerTagName === 'document') { |
| 258 | return document.implementation.createHTMLDocument(''); |
| 259 | } else if (containerTagName === 'head') { |
| 260 | return document.implementation.createHTMLDocument('').head; |
| 261 | } else { |
| 262 | return document.createElement(containerTagName); |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | const read = attribute.read; |
| 267 | let testValue = type.testValue; |
no outgoing calls
no test coverage detected