Re: [w3c/webcomponents] Shadow DOM and the Fullscreen API (#180)

Let me try to resolve this.

Do we agree on the following? :

1. Allow an element in a shadow tree to be fullscreen if the element is connected
2. `document.fullscreenEnabled` is effective to shadow trees connected to the document
3. if containing document of a shadow tree is in an `<iframe>`, its `allowfullscreen` attribute is effective to shadow trees connected to its document
4. `document.fullscreenElement` returns `null` if fullscreen element is in a shadow tree

or

(4) When an element in a shadow tree becomes fullscreen, `document.fullscreenElement` points to its shadow host
(5) `shadowRoot.fullscreenElement` returns the fullscreen element if any

As far as I understand the only contentious point is that `Document.fullscreenElement` behaves like `Document.currentScript` (returns `null` for shadow) or `Document.activeElement` (returns retargeted element for shadow).

If there is any other concern, please speak up.

---
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/180#issuecomment-224211606

Received on Tuesday, 7 June 2016 08:18:16 UTC