Re: [whatwg/fullscreen] Removing `:fullscreen-ancestor` pseudo-class causes webcompat issue (#103)

Ah, that's very strange, so display:none on the ancestors doesn't cause the fullscreen element itself to disappear?

The spec says "If it is an element, it and its ::backdrop pseudo-element are not rendered if its shadow-including inclusive ancestor has the display property set to none." Although, I don't know if this is necessary. The layout box is moved to the root, so it actually should be possible to show the fullscreen element anyway. Maybe it's complicated by assumptions in the engine though.

Since the Vimeo page used the moz-prefixed pseudo-class specifically, I guess that adding unprefixed variants wouldn't actually help? If the only thing that'll keep it from breaking is prefixed pseudo-classes, then that's what we'd have to spec.

We have done that on other occasions, but usually when there's more than one site involved. @karlcow, maybe you already have contacts at Vimeo you could poke for us?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/103#issuecomment-332478883

Received on Wednesday, 27 September 2017 10:27:29 UTC