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

[whatwg] Fullscreen changes to support <dialog>

From: Scott González <scott.gonzalez@gmail.com>
Date: Thu, 5 Apr 2012 07:34:54 -0400
Message-ID: <CAO8i3ifwnEzFsc+e_47FHsUVPxvM8+H46_7JKDXRNzkiuQ2=Tw@mail.gmail.com>
On Thu, Apr 5, 2012 at 3:58 AM, Anne van Kesteren <annevk at opera.com> wrote:

> I can see how it makes sense in the abstract. Browsers moved away from
> application-global modal dialogs to tab modal dialogs. I could see Twitter
> still wanting to you let you switch to @Connect or #Discover or search,
> while a modal dialog with user information is open. However, we could do
> that in a future version by allowing the size of ::backdrop to be adjusted
> by setting the top/left/bottom/right properties. Does that make sense?
>

I think in general, users will want to constrain to a specific element's
dimensions. In the vast majority of cases where I see anything constrained,
the dimensions are calculated based on the position and/or dimensions of
another element. However, there are definitely cases where users want to
constrain based on specific locations which may not be related to an
element.

I would also say that a large percentage of users struggle with
position/offset math, so defining top/left/bottom/right properties may be
tough for the average user. This is complicated by the fact that the
content on a page is likely dynamic and therefore so is the size of what
needs to be covered. I expect this would be further complicated by
responsive designs where the dimensions may change at any point, are are
likely not defined in pixel values in the first place. Perhaps the partial
page covering scenarios are uncommon enough that users who want this
functionality will have the knowledge required to implement it properly.
Received on Thursday, 5 April 2012 04:34:54 GMT

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