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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 24 Jan 2013 11:58:15 -0800
Message-ID: <CAAWBYDDc0FZRhzaUFckd5-9gBT4jueLhwye-HzBZvPOwEwztaQ@mail.gmail.com>
To: www-style list <www-style@w3.org>
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?

Received on Thursday, 24 January 2013 19:59:04 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:23 UTC