Auto merge of #10814 - SunyDays:svgevents_argument, r=Ms2ger

Implement the svgevents argument to Document::createEvent

close #10741

<!-- 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/10814)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-04-24 22:49:26 -07:00
commit 4b8f1260b9
2 changed files with 1 additions and 25 deletions

View file

@ -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" =>
Ok(Root::upcast(KeyboardEvent::new_uninitialized(&self.window))),

View file

@ -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