Bug 32388 - Remove or rename overlay overflow values
: Remove or rename overlay overflow values
Status: NEW
: WebKit
CSS
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-12-10 11:54 PST by
Modified: 2013-10-10 18:11 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 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".
------- Comment #1 From 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.
------- Comment #2 From 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.
------- Comment #3 From 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.
------- Comment #4 From 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.
------- Comment #5 From 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/ .