<?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>148033</bug_id>
          
          <creation_ts>2015-08-14 12:29:09 -0700</creation_ts>
          <short_desc>Scrollbar doesn&apos;t show up in a container with position:fixed</short_desc>
          <delta_ts>2016-07-15 13:26:46 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.10</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P1</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Emmanuel">egarciad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>egarciad</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>tonikitoo</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1117712</commentid>
    <comment_count>0</comment_count>
      <attachid>259025</attachid>
    <who name="Emmanuel">egarciad</who>
    <bug_when>2015-08-14 12:29:09 -0700</bug_when>
    <thetext>Created attachment 259025
try to scroll the content inside the red box.

A simple example can repro this issue:


&lt;body&gt;
  &lt;div id=&quot;#red&quot; style=&quot;position: fixed; width: 200px; height: 200px; top: 0px; left: 0; background-color:red; overflow-y: auto;&quot;&gt;
      &lt;div style=&quot;height: 3000px; width: 10px; background: green; margin: 10px;&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/body&gt;

the scrollbar in #red doesn&apos;t render anymore, but if I change its position to absolute, then the scrollbar is back.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1117778</commentid>
    <comment_count>1</comment_count>
    <who name="Emmanuel">egarciad</who>
    <bug_when>2015-08-14 14:46:14 -0700</bug_when>
    <thetext>One more bug. If the document scrollTop &gt; 0, then you can&apos;t scroll the content inside the red container anymore. It works fine in Chrome and Firefox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1118423</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2015-08-17 21:39:45 -0700</bug_when>
    <thetext>This seems to work correctly in a WebKit nightly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1118424</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-08-17 21:39:59 -0700</bug_when>
    <thetext>&lt;rdar://problem/22320185&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1211538</commentid>
    <comment_count>4</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2016-07-15 13:26:46 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; This seems to work correctly in a WebKit nightly.

Same here. WORKSFORME for now.

Please reopen with valid steps if you are able to reproduce this with the latest code.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>259025</attachid>
            <date>2015-08-14 12:29:09 -0700</date>
            <delta_ts>2015-08-14 12:29:09 -0700</delta_ts>
            <desc>try to scroll the content inside the red box.</desc>
            <filename>scrollbar-position-fixed.html</filename>
            <type>text/html</type>
            <size>623</size>
            <attacher name="Emmanuel">egarciad</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjwhLS0KQ3JlYXRlZCB1c2luZyBKUyBCaW4KaHR0cDovL2pzYmluLmNv
bQoKQ29weXJpZ2h0IChjKSAyMDE1IGJ5IGJsYXN0ZW4gKGh0dHA6Ly9qc2Jpbi5jb20vem9kZXZp
LzIvZWRpdCkKClJlbGVhc2VkIHVuZGVyIHRoZSBNSVQgbGljZW5zZTogaHR0cDovL2pzYmluLm1p
dC1saWNlbnNlLm9yZwotLT4KPG1ldGEgbmFtZT0icm9ib3RzIiBjb250ZW50PSJub2luZGV4Ij4K
PGh0bWw+CjxoZWFkPgogIDxtZXRhIGNoYXJzZXQ9InV0Zi04Ij4KICA8dGl0bGU+SlMgQmluPC90
aXRsZT4KPC9oZWFkPgo8Ym9keT4KCiAgCiAgPGRpdiBzdHlsZT0icG9zaXRpb246IGZpeGVkOyB3
aWR0aDogMjAwcHg7IGhlaWdodDogMjAwcHg7IHRvcDogMHB4OyBsZWZ0OiAwOyBiYWNrZ3JvdW5k
LWNvbG9yOnJlZDsgb3ZlcmZsb3cteTogYXV0bzsiPgogICAgICA8ZGl2IHN0eWxlPSJoZWlnaHQ6
IDMwMDBweDsgd2lkdGg6IDEwcHg7IGJhY2tncm91bmQ6IGJsdWU7IG1hcmdpbjogMTBweDsiPjwv
ZGl2PgoKICA8L2Rpdj4KICAKICA8ZGl2IHN0eWxlPSJoZWlnaHQ6IDMwMDBweDsgd2lkdGg6IDEw
cHg7IGJhY2tncm91bmQ6IGdyZWVuOyI+PC9kaXY+CiAgCgogIAo8L2JvZHk+CjwvaHRtbD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>