mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
parent
821797d6f7
commit
6c8bfdb774
7 changed files with 45 additions and 17 deletions
|
@ -41,6 +41,7 @@ use dom::domimplementation::DOMImplementation;
|
|||
use dom::element::{Element, ElementCreator};
|
||||
use dom::errorevent::ErrorEvent;
|
||||
use dom::event::{Event, EventBubbles, EventCancelable};
|
||||
use dom::eventdispatcher::EventStatus;
|
||||
use dom::eventtarget::EventTarget;
|
||||
use dom::focusevent::FocusEvent;
|
||||
use dom::forcetouchevent::ForceTouchEvent;
|
||||
|
@ -1118,7 +1119,11 @@ impl Document {
|
|||
window.reflow(ReflowGoal::ForDisplay,
|
||||
ReflowQueryType::NoQuery,
|
||||
ReflowReason::MouseEvent);
|
||||
result
|
||||
|
||||
match result {
|
||||
EventStatus::Canceled => false,
|
||||
EventStatus::NotCanceled => true
|
||||
}
|
||||
}
|
||||
|
||||
/// The entry point for all key processing for web content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue