[Webkit-unassigned] [Bug 20565] Drag and drop issues after DOM modifications

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 13 23:13:20 PST 2010


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


Oliver Hunt <oliver at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver at apple.com




--- Comment #5 from Oliver Hunt <oliver at apple.com>  2010-01-13 23:13:20 PST ---
(In reply to comment #4)
> I can add the test case, but I'm confused by the assertion.
> 
> If element->ownerDocument() == m_documentUnderMouse then it seems like we
> should just use m_documentUnderMouse and not even bother getting the element. 
> Is that right?

Actually i think that assertion would be incorrect, but likewise i think
m_documentUnderMouse would be wrong, take the following:

1. I start to drag content over an element
2. page load occurs, resulting in a new document
3. i drop

now the issue will be the m_documentUnderMouse will be bogus, and i think
that's actually the underlying problem.

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