RESOLVED INVALID 21219
Scrollbars don't render correctly with -webkit-transform
https://bugs.webkit.org/show_bug.cgi?id=21219
Summary Scrollbars don't render correctly with -webkit-transform
Brett Wilson (Google)
Reported 2008-09-29 13:13:15 PDT
Scrollbars in absolutely positioned divs that have a webkit-transform applied don't render. I tested in Safari trunk. The transform doesn'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'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.
Attachments
Test case: absolute div with scroll overflow and scale(1, 1) (1.15 KB, text/html)
2008-09-29 13:14 PDT, Brett Wilson (Google)
no flags
Brett Wilson (Google)
Comment 1 2008-09-29 13:14:09 PDT
Created attachment 23918 [details] Test case: absolute div with scroll overflow and scale(1, 1)
mitz
Comment 2 2008-09-29 13:25:53 PDT
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.
Brett Wilson (Google)
Comment 3 2008-09-29 13:33:27 PDT
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.
Note You need to log in before you can comment on or make changes to this bug.