Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the svgevents argument to Document::createEvent #10814

Merged
merged 1 commit into from Apr 25, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/script/dom/document.rs
Expand Up @@ -2154,7 +2154,7 @@ impl DocumentMethods for Document {
Ok(Root::upcast(MouseEvent::new_uninitialized(&self.window))),
"customevent" =>
Ok(Root::upcast(CustomEvent::new_uninitialized(GlobalRef::Window(&self.window)))),
"htmlevents" | "events" | "event" =>
"htmlevents" | "events" | "event" | "svgevents" =>
Ok(Event::new_uninitialized(GlobalRef::Window(&self.window))),
"keyboardevent" | "keyevents" =>
Ok(Root::upcast(KeyboardEvent::new_uninitialized(&self.window))),
Expand Down
24 changes: 0 additions & 24 deletions tests/wpt/metadata/dom/nodes/Document-createEvent.html.ini
Expand Up @@ -301,30 +301,6 @@
bug: https://github.com/servo/servo/issues/10736
expected: FAIL

[SVGEvents should be an alias for Event.]
bug: https://github.com/servo/servo/issues/10741
expected: FAIL

[createEvent('SVGEvents') should be initialized correctly.]
bug: https://github.com/servo/servo/issues/10741
expected: FAIL

[svgevents should be an alias for Event.]
bug: https://github.com/servo/servo/issues/10741
expected: FAIL

[createEvent('svgevents') should be initialized correctly.]
bug: https://github.com/servo/servo/issues/10741
expected: FAIL

[SVGEVENTS should be an alias for Event.]
bug: https://github.com/servo/servo/issues/10741
expected: FAIL

[createEvent('SVGEVENTS') should be initialized correctly.]
bug: https://github.com/servo/servo/issues/10741
expected: FAIL

[SVGZoomEvent should be an alias for SVGZoomEvent.]
expected: FAIL

Expand Down