[Webkit-unassigned] [Bug 16521] New: clip rect set in ScrollViewWin::paint is larger than it needs to be

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 19 19:05:40 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16521

           Summary: clip rect set in ScrollViewWin::paint is larger than it
                    needs to be
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: morganl.webkit at yahoo.com


clip rect set in ScrollViewWin::paint is larger than it needs to be

the code depends on the caller to have already set the correct clip rect, which
is why this does not manifest itself as a problem in safari.  (however, it may
still be problematic for iframes.)

I'm referring to this line of code:

  context->clip(enclosingIntRect(visibleContentRect()));

I believe that should really be:

  context->clip(documentDirtyRect);


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



More information about the webkit-unassigned mailing list