HTML5 Live DOM Viewer—Now in Your Browser
Earlier, I blogged about running the Validator.nu HTML Parser inside Hixie’s Live DOM Viewer using the magic of the hosted mode of the Google Web Toolkit. Back then, a compiler bug in GTW 1.5 RC1 prevented the parser from running as JavaScript in the Web mode. Google has now released GWT 1.5 RC2, which contains a fix for the bug.
So without further ado, here’s Live DOM Viewer with an HTML5 parser running as JavaScript in your browser.
Try pasting in the SVG lion or some MathML in Firefox 3 and Opera 9.5.
Known problems:
- SVG
use
does not work in Firefox. Update: Fixed in Minefield nightlies. - SVG does not render is Safari.
- IE does not support
createElementNS
and, thus, does not work at all.
A big thanks for the GWT team for making this work!