mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Time distribution across script event categories.
This commit is contained in:
parent
71b277d567
commit
1e6a2f08fc
11 changed files with 184 additions and 50 deletions
|
@ -25,6 +25,7 @@ use dom::node::{ChildrenMutation, Node, NodeDamage};
|
|||
use dom::node::{NodeTypeId, document_from_node, window_from_node};
|
||||
use dom::virtualmethods::VirtualMethods;
|
||||
use msg::constellation_msg::ConstellationChan;
|
||||
use script_task::ScriptTaskEventCategory::InputEvent;
|
||||
use script_task::{Runnable, CommonScriptMsg};
|
||||
use textinput::{TextInput, Lines, KeyReaction};
|
||||
|
||||
|
@ -356,7 +357,7 @@ impl VirtualMethods for HTMLTextAreaElement {
|
|||
let dispatcher = ChangeEventRunnable {
|
||||
element: handler,
|
||||
};
|
||||
let _ = chan.send(CommonScriptMsg::RunnableMsg(box dispatcher));
|
||||
let _ = chan.send(CommonScriptMsg::RunnableMsg(InputEvent, box dispatcher));
|
||||
}
|
||||
|
||||
self.force_relayout();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue