The author mentioned in the post that he didn't know anything about the dom at the time of writing it.
[1] shameless plug: http://capnmidnight.github.io/Primrose/
I personally consider DOM and CSS as the least-evil-of-all-options for doing cross-platform UI. Not that a better solution couldn't be made, but all other current solutions for the type of software I want to make are worse than DOM in some way.