Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add test for DocumentAndElementEventHandlers in SVG #10249
This is not in the spec yet. This adds tests before we commit the change to allow DocumentAndElementEventHandlers on SVGElement. This mixes in oncopy/cut/paste.
Firefox currently allows them on SVGElement (but fails tests). Chrome and Safari implement them on Element (which fails for HTML where they suppose to be on HTMLElement). Edge doesn't currently support them on SVGElement, but I have a PR close to sign off to add them.