- From: Xidorn Quan <notifications@github.com>
- Date: Thu, 03 Sep 2015 20:13:19 -0700
- To: whatwg/fullscreen <fullscreen@noreply.github.com>
- Message-ID: <whatwg/fullscreen/issues/20@github.com>
In the current spec, it says: > An element in a top layer ... is not rendered if it, or an ancestor, has the display property set to none. It is not quite clear to me whether its corresponding `::backdrop` should be rendered in that case. The current impls of top layer disagree with each other. The Blink impl for `<dialog>` hides the backdrop when the dialog has `display: none`, while the IE/Edge impl for fullscreen still shows the backdrop even if the fullscreen element is not displayed. It seems to me that the current spec indicates the behavior of IE/Edge. But I don't see it make much sense to do so. I don't think it would be common to show only the backdrop. Even if authors really want to do so, they can always apply `visiblity: hidden` to the corresponding element to effectively hide the element. In addition, it seems to me that not rendering `::backdrop` when the element does not have layout box is easier to impl. Thus I propose that, `::backdrop` should not be rendered if the corresponding element, or an ancestor, has the `display: none`. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fullscreen/issues/20
Received on Friday, 4 September 2015 03:13:49 UTC