Re: [webcomponents] [Shadow]: Need an equivalent definition of 'in a Document' for shadow trees (bugzilla: 26365) (#57)

I don't think it makes sense to change the definition of the concept "in a document" based on the element type (as done in the current working draft).  We should instead change each concept that refers to "in a document" concept.

Also, the current WD refers to the concept of [inertness](https://html.spec.whatwg.org/#inert) but this concept exists only for nodes hidden by a `dialog` element, and a sentence such as "must behave as inert, or not part of the document tree" doesn't make much sense as a spec text as it would mean that the node can behave either as if it didn't exist in the document tree or as if it's hidden by a dialog element.  i.e. I don't think "inert" means what you think it means in the HTML spec.

In addition, "in a document" state should **NOT** depend on the concept of [being rendered](https://html.spec.whatwg.org/#being-rendered) as that depends on CSS box models, etc... whereas the concept of being "in a document" should be a purely DOM concern.  Furthermore, a node "particitpat[ing] in a composed tree whose root node is a document" is very different from "being rendered".

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/57#issuecomment-161533655

Received on Thursday, 3 December 2015 06:48:07 UTC