Add event runnables

Make tasks a wrapper over runnables
This commit is contained in:
Connor Brewster 2016-07-11 22:21:45 -06:00
parent 9b01a4cc97
commit afc0ccb48d
9 changed files with 79 additions and 61 deletions

View file

@ -484,7 +484,7 @@ impl HTMLFormElement {
};
// Step 3
window.dom_manipulation_task_source().queue(DOMManipulationTask::Runnable(nav)).unwrap();
window.dom_manipulation_task_source().queue(DOMManipulationTask(nav)).unwrap();
}
/// Interactively validate the constraints of form elements