[w3c/DOM-Parsing] Document serialization steps are wrong (#11)

Could lead to double-serializing the doctype (as written)

Remove the special handling for the doctype node (it's already in the childNodes list) so will be serialized just fine.

Tested browsers--all of them serialize PIs and Comments etc., in the order they were parsed into the children of the document object.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/DOM-Parsing/issues/11

Received on Friday, 3 June 2016 18:56:30 UTC