Make all task source runnables cancellable

Implement all Runnable methods on CancellableRunnable to redirect to their inner runnable
This commit is contained in:
Connor Brewster 2016-07-11 22:59:53 -06:00
parent afc0ccb48d
commit 5f7324a9a5
14 changed files with 69 additions and 58 deletions

View file

@ -260,7 +260,8 @@ impl HTMLTextAreaElementMethods for HTMLTextAreaElement {
&self.upcast(),
atom!("select"),
EventBubbles::Bubbles,
EventCancelable::NotCancelable);
EventCancelable::NotCancelable,
window.r());
self.upcast::<Node>().dirty(NodeDamage::OtherNodeDamage);
}
}
@ -383,7 +384,8 @@ impl VirtualMethods for HTMLTextAreaElement {
&self.upcast(),
atom!("input"),
EventBubbles::Bubbles,
EventCancelable::NotCancelable);
EventCancelable::NotCancelable,
window.r());
}
self.upcast::<Node>().dirty(NodeDamage::OtherNodeDamage);