- From: Diego Perini <notifications@github.com>
- Date: Mon, 27 Apr 2015 10:48:33 -0700
- To: w3ctag/spec-reviews <spec-reviews@noreply.github.com>
Received on Monday, 27 April 2015 17:49:01 UTC
@phistuck, just for fun, but following the reasoning in the above code snippet, you can see that on the `document`, excluding the Traversal properties, there is only one property pointing to an `Element` whose `parentNode` is a `document` node (nodeType == 9): for (x in document) { try { if (!/Child$/.test(x) && document[x].nodeType == 1) { if (document[x].parentNode.nodeType == 9) console.log(x) } } catch (e) {} } which yields only one property: documentElement adding `scrollingElement` property to `document` will change the results to yield two properties: documentElement scrollingElement --- Reply to this email directly or view it on GitHub: https://github.com/w3ctag/spec-reviews/issues/51#issuecomment-96755548
Received on Monday, 27 April 2015 17:49:01 UTC