[whatwg] Fullscreen changes to support <dialog>

Robert O'Callahan robert at ocallahan.org
Tue Apr 3 17:29:37 PDT 2012

This seems reasonable to me.

On Wed, Apr 4, 2012 at 11:14 AM, Ian Hickson <ian at hixie.ch> wrote:

>  This layer consists of a stack of elements, which each CSS viewport
>  maintains. These stacks are initially empty. When the layer is painted,
>  the elements in the stack are rendered in the order that they were added
>  to the stack, with the most recently added being rendered closest to the
>  user. The 'z-index' property is ignored for this stacking layer.

Is each element in this stack treated as having its own stacking context? I
assume so, but you'd better say so.

- Define a new pseudo-element ::backdrop which applies to any element in
>  such a stack; it addresses a box that exactly covers the viewport
>  immediately below the element in the stack, in the same stacking layer,
>  whose only applicable properties are the 'background' properties.
>  (Alternatively, make it a generic box with properties initially set to
>  have position:fixed and positioned to exactly cover the viewport, but
>  I don't see much point in letting people fiddle with this box's
>  positioning, display type, etc.)

It's probably more work to make all non-background properties inapplicable
than it would be to simply treat it like ::before/::after generated content.

“You have heard that it was said, ‘Love your neighbor and hate your enemy.’
But I tell you, love your enemies and pray for those who persecute you,
that you may be children of your Father in heaven. ... If you love those
who love you, what reward will you get? Are not even the tax collectors
doing that? And if you greet only your own people, what are you doing more
than others?" [Matthew 5:43-47]

More information about the whatwg mailing list