Still a work in progress
The goal of this work is to explore what is possible to do with the DOM when you try like you really mean it. Things are just starting to come together but it's still crazy insane.
What the hell is this?
How can I make it do stuff?
Right now, when you run svg.browser.js, you'll find a new global object
wrap. This function will wrap any DOM element passed to it with a dopplegangar. If passed an HTML or SVG tagname it'll create a new element of that type and return the wrapper.
If you need to interact with unwrapped DOM elements you can do
element.unwrap() to get the real one back. Currently I haven't bothered with any of the HTML DOM so this is needed to attach the initial SVGSVG element to the document. I'll fix this soon.