[Webkit-unassigned] [Bug 32672] New: NPWindow.clipRect bug

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 17 10:36:34 PST 2009


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

           Summary: NPWindow.clipRect bug
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Plug-ins
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: anders.bakken at nokia.com


The clipRect seems to be incorrectly set up in void
PluginView::setNPWindowIfNeeded() (PluginView.cpp).

m_npWindow.clipRect.left = m_clipRect.x();
m_npWindow.clipRect.top = m_clipRect.y();
m_npWindow.clipRect.right = m_clipRect.width();
m_npWindow.clipRect.bottom = m_clipRect.height();

I would expect:

m_npWindow.clipRect.left = m_clipRect.x();
m_npWindow.clipRect.top = m_clipRect.y();
m_npWindow.clipRect.right = m_clipRect.x() + m_clipRect.width();
m_npWindow.clipRect.bottom = m_clipRect.y() + m_clipRect.height();

Possibly with - 1 on right/bottom.

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