(n)
| 139 | } |
| 140 | |
| 141 | function svgMath(n) { |
| 142 | // Foreign-content blocks: exercises _checkValidNamespace dispatch. |
| 143 | let html = ''; |
| 144 | for (let i = 0; i < n; i++) { |
| 145 | html += |
| 146 | `<svg viewBox="0 0 10 10"><g><circle cx="5" cy="5" r="${(i % 4) + 1}"/>` + |
| 147 | `<text x="1" y="9">s${i}</text></g></svg>` + |
| 148 | `<math><mrow><mi>x</mi><mo>+</mo><mn>${i}</mn></mrow></math>`; |
| 149 | } |
| 150 | |
| 151 | return html; |
| 152 | } |
| 153 | |
| 154 | function dirtyMixed(n) { |
| 155 | // Realistic dirty input: things to strip, hoist and rewrite. |
no outgoing calls
no test coverage detected
searching dependent graphs…