Auto merge of #11255 - s-baldrick:11158, r=ConnorGBrewster

11158 - add event handlers

Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy --faster` does not report any errors
- [X] These changes fix #11158 (github issue number if applicable).

Either:
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because ____

Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11255)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-05-20 21:26:41 -07:00
commit 5fc511a40e
21 changed files with 373 additions and 861 deletions

View file

@ -2795,6 +2795,9 @@ impl DocumentMethods for Document {
// Step 5
elements
}
// https://html.spec.whatwg.org/multipage/#documentandelementeventhandlers
document_and_element_event_handlers!();
}
fn update_with_current_time_ms(marker: &Cell<u64>) {