Re: [w3c/webcomponents] <iframe> and the History API (#184)

I'd like to add a clarification to my https://github.com/w3c/webcomponents/issues/184#issuecomment-212817696.

- when `<iframe>` is moved from a shadow tree to document tree, document tree to a shadow tree, or one shadow tree to another shadow tree (via `appendChild()` etc.)
  - remove all history entries when `<iframe>` is moved to a different node tree.
   (i.e. keep history object as is when `<iframe>` moves within the same node tree.)
  - if the destination is the document tree, after move is complete, `<iframe>`'s `window.history` will be the
  same state as `document.appendChild(document.createElement('iframe')).contentWindow.history`.
  - if the destination is a shadow tree, `<iframe>`'s `window.history` will contain one history entry of itself.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/184#issuecomment-214152566

Received on Monday, 25 April 2016 06:09:01 UTC