Re: [whatwg/dom] Un-merge Document and HTMLDocument (#221)

APIs on documents that seem fine to keep restricted to `HTMLDocument` objects:

* location (just use window.location)
* domain (bad feature, mutable origins)
* cookie (bad feature, sync storage)
* named getters (bad feature)
* open/close/write/writeln
* fgColor/linkColor/vlinkColor/alinkColor/bgColor
* clear/captureEvents/releaseEvents
* all

Maybe keep restricted:

* body/head
* images/embeds/plugins/links/forms/scripts/anchors/applets
* getElementsByName
* currentScript (bad feature with shadow trees and module scripts)
* designMode

Do we use `HTMLDocument` objects for `application/xhtml+xml` responses?

-- 
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/221#issuecomment-250406678

Received on Thursday, 29 September 2016 08:44:49 UTC