diff options
-rw-r--r-- | components/script/dom/document.rs | 2 | ||||
-rw-r--r-- | tests/wpt/metadata/dom/nodes/Document-createEvent.html.ini | 24 |
2 files changed, 1 insertions, 25 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs index 12eab0cf4e2..c2ae9675f4d 100644 --- a/components/script/dom/document.rs +++ b/components/script/dom/document.rs @@ -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))), diff --git a/tests/wpt/metadata/dom/nodes/Document-createEvent.html.ini b/tests/wpt/metadata/dom/nodes/Document-createEvent.html.ini index a81231ac8d9..6ea0d3c0cc6 100644 --- a/tests/wpt/metadata/dom/nodes/Document-createEvent.html.ini +++ b/tests/wpt/metadata/dom/nodes/Document-createEvent.html.ini @@ -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 |