Re: [whatwg/dom] Default value for node document or always set it explicitly (#212)

So DOM requires light adjustments, but HTML... every time when node (in most case element) is create its node document should be set. Sometimes I see uniwersal rules, like this for XML parsing:
https://html.spec.whatwg.org/multipage/xhtml.html#templateTagXML
but in some places there are gaps (or maybe I not yet located the universal description):

https://html.spec.whatwg.org/multipage/dom.html#dom-tree-accessors:svg-title-4
https://html.spec.whatwg.org/multipage/dom.html#dom-tree-accessors:the-title-element-3
Table methods:
https://html.spec.whatwg.org/multipage/tables.html#dom-table-createcaption
https://html.spec.whatwg.org/multipage/tables.html#dom-table-createthead
https://html.spec.whatwg.org/multipage/tables.html#dom-table-createtfoot
https://html.spec.whatwg.org/multipage/tables.html#dom-table-createtbody
https://html.spec.whatwg.org/multipage/tables.html#dom-table-insertrow
https://html.spec.whatwg.org/multipage/tables.html#dom-tbody-insertrow
https://html.spec.whatwg.org/multipage/tables.html#dom-tr-insertcell

Probably more exist like this text node (https://html.spec.whatwg.org/multipage/forms.html#the-option-element:text-2).

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/212#issuecomment-210821093

Received on Saturday, 16 April 2016 13:55:16 UTC