{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/dom/issues/238","repository_url":"https://api.github.com/repos/whatwg/dom","labels_url":"https://api.github.com/repos/whatwg/dom/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/dom/issues/238/comments","events_url":"https://api.github.com/repos/whatwg/dom/issues/238/events","html_url":"https://github.com/whatwg/dom/issues/238","id":150458651,"number":238,"title":"\"In a document\" confusion","user":{"login":"domenic","id":617481,"avatar_url":"https://avatars.githubusercontent.com/u/617481?v=3","gravatar_id":"","url":"https://api.github.com/users/domenic","html_url":"https://github.com/domenic","followers_url":"https://api.github.com/users/domenic/followers","following_url":"https://api.github.com/users/domenic/following{/other_user}","gists_url":"https://api.github.com/users/domenic/gists{/gist_id}","starred_url":"https://api.github.com/users/domenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenic/subscriptions","organizations_url":"https://api.github.com/users/domenic/orgs","repos_url":"https://api.github.com/users/domenic/repos","events_url":"https://api.github.com/users/domenic/events{/privacy}","received_events_url":"https://api.github.com/users/domenic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-22T20:00:34Z","updated_at":"2016-04-25T06:20:34Z","closed_at":null,"body":"So I guess this has been discussed to death elsewhere, but naively putting on my web developer hat, something that's in a shadow tree is still \"in a document\". Maybe in English: the element is in the shadow tree, the shadow tree is in the document, therefore the element is in the document.\r\n\r\nHave we considered \"in a document's light DOM\" or similar?\r\n\r\nIt seems like regardless of what we do we're going to have to audit every use of \"in a document\" and figure out whether it should become \"in a document's light DOM\" or \"in a shadow-including document\"."},"comment":{"url":"https://api.github.com/repos/whatwg/dom/issues/comments/214156071","html_url":"https://github.com/whatwg/dom/issues/238#issuecomment-214156071","issue_url":"https://api.github.com/repos/whatwg/dom/issues/238","id":214156071,"user":{"login":"hayatoito","id":160288,"avatar_url":"https://avatars.githubusercontent.com/u/160288?v=3","gravatar_id":"","url":"https://api.github.com/users/hayatoito","html_url":"https://github.com/hayatoito","followers_url":"https://api.github.com/users/hayatoito/followers","following_url":"https://api.github.com/users/hayatoito/following{/other_user}","gists_url":"https://api.github.com/users/hayatoito/gists{/gist_id}","starred_url":"https://api.github.com/users/hayatoito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayatoito/subscriptions","organizations_url":"https://api.github.com/users/hayatoito/orgs","repos_url":"https://api.github.com/users/hayatoito/repos","events_url":"https://api.github.com/users/hayatoito/events{/privacy}","received_events_url":"https://api.github.com/users/hayatoito/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T06:20:34Z","updated_at":"2016-04-25T06:20:34Z","body":"> I'm inclined to just stick with \"in a document\" and \"in a shadow-including document\" meaning what they mean today.\r\n\r\n+1\r\n\r\nWe should not use \"light\". \"light\" does not have a absolute meaning. It is just a parent tree of a shadow tree. Whether \"light tree\" is a document tree or a shadow tree depends on its context.\r\n\r\n"}}