RESOLVED WONTFIX 32388
Remove or rename overlay overflow values
https://bugs.webkit.org/show_bug.cgi?id=32388
Summary Remove or rename overlay overflow values
Erik Arvidsson
Reported 2009-12-10 11:54:17 PST
WebKit currently has a proprietary CSS overflow value called "overlay" which is undocumented and as far as I can tell from reading the code works exactly like "auto". We should either remove it or rename it to "-webkit-overlay".
Attachments
Tony Chang
Comment 1 2013-01-22 10:41:41 PST
Looks like hyatt tried to rename to -webkit-overlay in 2006: http://trac.webkit.org/changeset/14968 . We should histogram and try again.
Tony Chang
Comment 2 2013-01-24 10:25:36 PST
10:05 < tony^work> dhyatt: What was overflow: overlay? 10:06 < tony^work> dhyatt: It looks like it's the same as overflow: auto now. 10:06 < dhyatt> a way for scrollbars to overlay the content instead of taking up space 10:06 < dhyatt> now all scrollbars on OS X overlay content 10:06 < dhyatt> so on OS X at least it's not that relevant 10:06 < dhyatt> still applies to say Windows though Looks like it used in a few places on the web (also in the WebKit Web Inspector). Ojan says we should probably to try standardize it.
Julien Chaffraix
Comment 3 2013-01-24 10:43:20 PST
> Looks like it used in a few places on the web (also in the WebKit Web Inspector). Ojan says we should probably to try standardize it. I am pretty sure I asked about removing it at some point last year, the answer was that it was used internally by Apple (I can't recall the exact wording and lost my logs of this conversation). It may also make sense for mobile as overflow: overlay scrollbars don't trigger a layout.
Tab Atkins
Comment 4 2013-01-24 11:02:41 PST
Okay, so it's identical to "auto" in behavior, but just forces the scrollbars (if created) to be overlay rather than space-filling? This sounds like an okay kind of thing to standardize, and I can try to do so if my above description is correct.
Tony Chang
Comment 5 2013-01-24 11:32:20 PST
(In reply to comment #4) > Okay, so it's identical to "auto" in behavior, but just forces the scrollbars (if created) to be overlay rather than space-filling? Yes, that's right. Here's an example: http://jsfiddle.net/rNxgD/ .
Simon Fraser (smfr)
Comment 6 2015-12-24 12:57:30 PST
I wonder if we can try to make it -webkit again, or remove it.
Chris Rebert
Comment 7 2016-01-31 05:40:13 PST
There's talk of standardizing some variation of this: https://github.com/w3c/csswg-drafts/issues/92
Fuqiao Xue
Comment 8 2017-12-19 18:18:09 PST
Simon Fraser (smfr)
Comment 9 2018-09-20 17:56:47 PDT
I'm making 'overlay' a synonym for 'auto': bug 189811. I'd prefer to remove it, but that causes sites that use it to fall back to overflow:auto, which would be a breaking behavior change.
Brent Fulgham
Comment 10 2022-07-12 12:46:46 PDT
We can revisit removing 'overlay' entirely once the web has moved on.
Note You need to log in before you can comment on or make changes to this bug.