4 ms·
We need to work on the following: 1. Add an "i" element to SVG for isometric path drawings 2. Update the HTML parser algo to special case this "i" for inline
by jancsika 4y ago
We need to work on the following:
1. Add an "i" element to SVG for isometric path drawings
2. Update the HTML parser algo to special case this "i" for inline SVGs
- runarberg 4y agoDo you need to updated the parser though? I kind of thought SVG elements were implicitly namespaced. For example we have the two <a> tags. One HTMLElement <a> and another Element <a> with the namespace "http://www.w3.org/2000/svg http://www.w3.org/2000/svg". I don’t know of any meaningful difference between those two elements, except if you try to insert the former into an SVG DOM tree, then weird things might happen (though I haven’t tested it).
- denton-scratch 4y agoYeah, only a terminally-dumb parser could confuse an SVG <i> tag with an HTML <i> tag. A proper HTML parser should ignore anything inside tags it doesn't understand - such as the <svg> tag.