<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>32388</bug_id>
          
          <creation_ts>2009-12-10 11:54:17 -0800</creation_ts>
          <short_desc>Remove or rename overlay overflow values</short_desc>
          <delta_ts>2024-09-24 16:09:11 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Erik Arvidsson">arv</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>hyatt</cc>
    
    <cc>jchaffraix</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>syoichi</cc>
    
    <cc>tabatkins</cc>
    
    <cc>tony</cc>
    
    <cc>waleedsattar5</cc>
    
    <cc>xfq.free</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>170482</commentid>
    <comment_count>0</comment_count>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2009-12-10 11:54:17 -0800</bug_when>
    <thetext>WebKit currently has a proprietary CSS overflow value called &quot;overlay&quot; which is undocumented and as far as I can tell from reading the code works exactly like &quot;auto&quot;.

We should either remove it or rename it to &quot;-webkit-overlay&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>813166</commentid>
    <comment_count>1</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2013-01-22 10:41:41 -0800</bug_when>
    <thetext>Looks like hyatt tried to rename to -webkit-overlay in 2006: http://trac.webkit.org/changeset/14968 .  We should histogram and try again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>815584</commentid>
    <comment_count>2</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2013-01-24 10:25:36 -0800</bug_when>
    <thetext>10:05 &lt; tony^work&gt; dhyatt: What was overflow: overlay?
10:06 &lt; tony^work&gt; dhyatt: It looks like it&apos;s the same as overflow: auto now.
10:06 &lt; dhyatt&gt; a way for scrollbars to overlay the content instead of taking 
                up space
10:06 &lt; dhyatt&gt; now all scrollbars on OS X overlay content
10:06 &lt; dhyatt&gt; so on OS X at least it&apos;s not that relevant
10:06 &lt; dhyatt&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>815601</commentid>
    <comment_count>3</comment_count>
    <who name="Julien Chaffraix">jchaffraix</who>
    <bug_when>2013-01-24 10:43:20 -0800</bug_when>
    <thetext>&gt; 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&apos;t recall the exact wording and lost my logs of this conversation). It may also make sense for mobile as overflow: overlay scrollbars don&apos;t trigger a layout.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>815624</commentid>
    <comment_count>4</comment_count>
    <who name="Tab Atkins">tabatkins</who>
    <bug_when>2013-01-24 11:02:41 -0800</bug_when>
    <thetext>Okay, so it&apos;s identical to &quot;auto&quot; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>815662</commentid>
    <comment_count>5</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2013-01-24 11:32:20 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; Okay, so it&apos;s identical to &quot;auto&quot; in behavior, but just forces the scrollbars (if created) to be overlay rather than space-filling?

Yes, that&apos;s right.  Here&apos;s an example: http://jsfiddle.net/rNxgD/ .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1151290</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2015-12-24 12:57:30 -0800</bug_when>
    <thetext>I wonder if we can try to make it -webkit again, or remove it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1160653</commentid>
    <comment_count>7</comment_count>
    <who name="Chris Rebert">webkit</who>
    <bug_when>2016-01-31 05:40:13 -0800</bug_when>
    <thetext>There&apos;s talk of standardizing some variation of this:
https://github.com/w3c/csswg-drafts/issues/92</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1383467</commentid>
    <comment_count>8</comment_count>
    <who name="Fuqiao Xue">xfq.free</who>
    <bug_when>2017-12-19 18:18:09 -0800</bug_when>
    <thetext>CSSWG standardized this behavior by add a scrollbar-gutter property:

* https://drafts.csswg.org/css-overflow-4/#scollbar-gutter-property
* https://github.com/w3c/csswg-drafts/issues/92#issuecomment-272567887</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1461631</commentid>
    <comment_count>9</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2018-09-20 17:56:47 -0700</bug_when>
    <thetext>I&apos;m making &apos;overlay&apos; a synonym for &apos;auto&apos;: bug 189811. I&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882474</commentid>
    <comment_count>10</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-12 12:46:46 -0700</bug_when>
    <thetext>We can revisit removing &apos;overlay&apos; entirely once the web has moved on.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>