mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 536926. Make sure event gets handled even if there is no focused node and the root content has no frame. r=enndeakin
--HG-- extra : rebase_source : a7e532c248467a0083a682f8ed0d32959595c898
This commit is contained in:
parent
fffbd88cf3
commit
9aed5c95c4
@ -6280,7 +6280,8 @@ PresShell::HandleEvent(nsIView *aView,
|
||||
mCurrentEventFrame = nsnull;
|
||||
|
||||
|
||||
if (!mCurrentEventContent || InZombieDocument(mCurrentEventContent)) {
|
||||
if (!mCurrentEventContent || !GetCurrentEventFrame() ||
|
||||
InZombieDocument(mCurrentEventContent)) {
|
||||
rv = RetargetEventToParent(aEvent, aEventStatus);
|
||||
PopCurrentEventInfo();
|
||||
return rv;
|
||||
|
Loading…
Reference in New Issue
Block a user