mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Make all task source runnables cancellable
Implement all Runnable methods on CancellableRunnable to redirect to their inner runnable
This commit is contained in:
parent
afc0ccb48d
commit
5f7324a9a5
14 changed files with 69 additions and 58 deletions
|
@ -576,7 +576,8 @@ impl HTMLInputElementMethods for HTMLInputElement {
|
|||
&self.upcast(),
|
||||
atom!("select"),
|
||||
EventBubbles::Bubbles,
|
||||
EventCancelable::NotCancelable);
|
||||
EventCancelable::NotCancelable,
|
||||
window.r());
|
||||
self.upcast::<Node>().dirty(NodeDamage::OtherNodeDamage);
|
||||
}
|
||||
|
||||
|
@ -1061,7 +1062,8 @@ impl VirtualMethods for HTMLInputElement {
|
|||
&self.upcast(),
|
||||
atom!("input"),
|
||||
EventBubbles::Bubbles,
|
||||
EventCancelable::NotCancelable);
|
||||
EventCancelable::NotCancelable,
|
||||
window.r());
|
||||
}
|
||||
|
||||
self.upcast::<Node>().dirty(NodeDamage::OtherNodeDamage);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue