(def2, group7)
| 123181 | } |
| 123182 | }; |
| 123183 | function createMark(def2, group7) { |
| 123184 | const mark = { |
| 123185 | bounds: new Bounds(), |
| 123186 | clip: !!def2.clip, |
| 123187 | group: group7, |
| 123188 | interactive: def2.interactive === false ? false : true, |
| 123189 | items: [], |
| 123190 | marktype: def2.marktype, |
| 123191 | name: def2.name || undefined, |
| 123192 | role: def2.role || undefined, |
| 123193 | zindex: def2.zindex || 0 |
| 123194 | }; // add accessibility properties if defined |
| 123195 | if (def2.aria != null) mark.aria = def2.aria; |
| 123196 | if (def2.description) mark.description = def2.description; |
| 123197 | return mark; |
| 123198 | } |
| 123199 | // create a new DOM element |
| 123200 | function domCreate(doc, tag, ns) { |
| 123201 | if (!doc && typeof document !== "undefined" && document.createElement) doc = document; |
no outgoing calls
no test coverage detected