[Webkit-unassigned] [Bug 45573] New: [chromium] Fix incorrect drag node/selection painting.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 10 16:28:07 PDT 2010


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

           Summary: [chromium] Fix incorrect drag node/selection painting.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dcheng at chromium.org


If you dragged a selection near the bottom of the page, the selection would not be renderer correctly (it would be clipped as if the page hadn't been scrolled down).
I also updated dragImageForNode to use RenderLayer::paint() as well, since that allows us to remove PaintBehavior from the RTTI helper class. I'm not 100% sure if the new code in Frame::dragImageForNode correct though--it uses document()->renderer() and node->renderer(), which is a little weird. However, if I just used RenderObject* renderer = node->renderer(), it would throw the following assert during the paint:
ASSERTION FAILED: rootLayer == m_clipRectsRoot

-- 
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