aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/document.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-05-20 21:26:41 -0700
committerbors-servo <lbergstrom+bors@mozilla.com>2016-05-20 21:26:41 -0700
commit5fc511a40e4f5710783cd76875fd119997307ad8 (patch)
tree4fe8370934941472653ec0bfa9714e161c8deb7a /components/script/dom/document.rs
parentc0c70ef0946da25ce31c44037f4a5ff2028b9aee (diff)
parentd1af39c114d9b1b101826d541afb09105971084b (diff)
downloadservo-5fc511a40e4f5710783cd76875fd119997307ad8.tar.gz
servo-5fc511a40e4f5710783cd76875fd119997307ad8.zip
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 -->
Diffstat (limited to 'components/script/dom/document.rs')
-rw-r--r--components/script/dom/document.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs
index ddf23297282..9be03ab4c84 100644
--- a/components/script/dom/document.rs
+++ b/components/script/dom/document.rs
@@ -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>) {