[Webkit-unassigned] [Bug 108255] New: Scrollbar and scroll corner composited layers positioned incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 29 16:48:52 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=108255

           Summary: Scrollbar and scroll corner composited layers
                    positioned incorrectly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jamesr at chromium.org
                CC: simon.fraser at apple.com


Originally reported as https://code.google.com/p/chromium/issues/detail?id=170264

Open this repro case in Chrome with --force-compositing-mode or a recent WebKit nightlies:

<!DOCTYPE html>
<html>
 <body>
  <div style="position:relative; float:right; width:40px; height:20px; right:-20px; background-color:#090"></div>
  <div style="height:400px; background-color:#900;"></div>
 </body>
</html>


data:text/html;charset=utf-8,<!DOCTYPE%20html>%0A<html>%0A%20<body>%0A%20%20<div%20style%3D"position%3Arelative%3B%20float%3Aright%3B%20width%3A40px%3B%20height%3A20px%3B%20right%3A-20px%3B%20background-color%3A%23090"><%2Fdiv>%0A%20%20<div%20style%3D"height%3A400px%3B%20background-color%3A%23900%3B"><%2Fdiv>%0A%20<%2Fbody>%0A<%2Fhtml>

and resize the window to be close to the size of the red square.  At certain sizes, the page goes nearly white.  The scroll corner layer on the root frame is positioned at 15x15 and occupies the rest of the frame.  Somehow the overflow control layer positioning logic is running before the scrollbars get correctly sized.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list