<?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>21219</bug_id>
          
          <creation_ts>2008-09-29 13:13:15 -0700</creation_ts>
          <short_desc>Scrollbars don&apos;t render correctly with -webkit-transform</short_desc>
          <delta_ts>2008-09-29 13:33:27 -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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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="Brett Wilson (Google)">brettw</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hyatt</cc>
    
    <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93268</commentid>
    <comment_count>0</comment_count>
    <who name="Brett Wilson (Google)">brettw</who>
    <bug_when>2008-09-29 13:13:15 -0700</bug_when>
    <thetext>Scrollbars in absolutely positioned divs that have a webkit-transform applied don&apos;t render. I tested in Safari trunk. The transform doesn&apos;t even need to do anything (i.e. scale(1, 1) has this effect).

I see in the scrollbar painting code in the Chromium port (I think Safari is identical here) that the origin of the graphics context is the upper left of the div, but the scrollbar positions are relative to the entire page. This means they&apos;re drawn outside of the div (and clipped away).

The coordinates passed for the scrollbar position should be relative to the containing div so transforms such as rotation will be applied correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93269</commentid>
    <comment_count>1</comment_count>
      <attachid>23918</attachid>
    <who name="Brett Wilson (Google)">brettw</who>
    <bug_when>2008-09-29 13:14:09 -0700</bug_when>
    <thetext>Created attachment 23918
Test case: absolute div with scroll overflow and scale(1, 1)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93271</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-09-29 13:25:53 -0700</bug_when>
    <thetext>I cannot reproduce the bug in TOT WebKit on Mac OS X 10.5.5. The scrollbar does not hit-test properly, but paints correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93275</commentid>
    <comment_count>3</comment_count>
    <who name="Brett Wilson (Google)">brettw</who>
    <bug_when>2008-09-29 13:33:27 -0700</bug_when>
    <thetext>Testing error. I thought I was testing my own build from last week which was debug, but it was running my release version which is probably a month old. My r36857 is OK.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>23918</attachid>
            <date>2008-09-29 13:14:09 -0700</date>
            <delta_ts>2008-09-29 13:14:09 -0700</delta_ts>
            <desc>Test case: absolute div with scroll overflow and scale(1, 1)</desc>
            <filename>absolute_scroll.html</filename>
            <type>text/html</type>
            <size>1178</size>
            <attacher name="Brett Wilson (Google)">brettw</attacher>
            
              <data encoding="base64">PHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCiAgLmFzZGZza2V3IHtiYWNrZ3JvdW5kLWNvbG9yOiNF
RkU7IGJvcmRlcjoxcHggc29saWQgYmxhY2s7IHBvc2l0aW9uOmFic29sdXRlOyB0b3A6MjAwcHg7
IGxlZnQ6MTAwcHg7IHdpZHRoOjIwMHB4OyBoZWlnaHQ6MTAwcHg7IG92ZXJmbG93OnNjcm9sbDt9
DQogIC5hc2Rmc2NhbGUge2JhY2tncm91bmQtY29sb3I6I0VGRTsgYm9yZGVyOjFweCBzb2xpZCBi
bGFjazsgcG9zaXRpb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