See the LibDom trac