Clean up the Document class a bit
Created attachment 208992 [details] Patch
Comment on attachment 208992 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=208992&action=review > Source/WebCore/dom/Document.cpp:1561 > + for (Element* element = headElement->firstElementChild(); element; element = element->nextElementSibling()) { The modern way to do this is to use ElementTraversal instead of DOM APIs.
(In reply to comment #2) > The modern way to do this is to use ElementTraversal instead of DOM APIs. Funny: I thought of that, but I thought it was only when you wanted to walk in document order, didn’t realize you could use it just to walk children. Will fix.
Committed r154228: <http://trac.webkit.org/changeset/154228>
Mass moving XML DOM bugs to the "DOM" Component.