W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2012

[whatwg] Fullscreen changes to support <dialog>

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 4 Apr 2012 12:29:37 +1200
Message-ID: <CAOp6jLbWSgAw3byWAkLEhfse6y6+fGW56POpPe6Oa9ObS1OS8Q@mail.gmail.com>
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.

Rob
-- 
?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]
Received on Tuesday, 3 April 2012 17:29:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:07 GMT