W3C home > Mailing lists > Public > www-style@w3.org > January 2013

Re: [css3-ui] Proposal for an "overlay" value for 'overflow'

From: Simon Fraser <smfr@me.com>
Date: Thu, 24 Jan 2013 13:53:46 -0800
Cc: www-style list <www-style@w3.org>
Message-id: <3AFFA88D-DEA8-4C9B-BB95-3D5F405845CB@me.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
On Jan 24, 2013, at 11:58 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> I just learned of this this morning, but apparently WebKit has a
> long-existing extra value for 'overflow' called "overlay":
> <https://bugs.webkit.org/show_bug.cgi?id=32388>.  It's not prefixed or
> anything.  Its effect is identical to "auto", except it forces the
> scrollbars, when generated, to be overlay rather than space-filling.
> That is, the scrollbars act like abspos elements attached to the
> end/after edges of the element, and if there's insufficient padding on
> those edges, will happily overlap content at the edge.
> 
> Here's an example of it in action: <http://jsfiddle.net/rNxgD/>.  View
> in a WebKit-based browser, obviously.
> 
> This is apparently used by a small amount of web content, and some
> Apple content, which means we can't remove it from our engine easily.
> It seems potentially useful for general CSS, though.  How do others
> feel about standardizing this?

Can you provide more data on pages that use this in the wild?

I don't believe we have any content at Apple that cares about overflow:overlay;
if we do, then we should move it under a prefix.

I don't think we should standardize this value.

Simon
Received on Thursday, 24 January 2013 21:54:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:04 GMT