- From: Travis Leithead <Travis.Leithead@microsoft.com>
- Date: Wed, 24 Jun 2009 00:02:35 +0000
- To: "'public-html@w3.org'" <public-html@w3.org>, Ian Hickson <ian@hixie.ch>
Received on Wednesday, 24 June 2009 00:03:25 UTC
[parent browsing context]
...
<iframe src=child.html></iframe>
<div id=attach></div>
...
[child.html (assuming same-domain access is allowed to parent markup)]
<html>
<body>
<div id=a>
<span>
<script>
window.parent.document.getElementById('attach').appendChild( document.getElementById('a') );
</script>
<span id=where>Where does this get parsed?
</span>
</span>
</div>
</body>
</html>
Does the <span id=where> get parsed as a child of "div#a > span" in the parent browsing context, or in child.html?
Received on Wednesday, 24 June 2009 00:03:25 UTC