This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23469 - Define event handlers properly
Summary: Define event handlers properly
Status: NEW
Alias: None
Product: SVG
Classification: Unclassified
Component: Scripting (show other bugs)
Version: SVG 2.0
Hardware: PC All
: P2 normal
Target Milestone: Test Suite
Assignee: Doug Schepers
QA Contact: SVG Public List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-09 12:08 UTC by Simon Pieters
Modified: 2013-10-16 07:42 UTC (History)
2 users (show)

See Also:


Attachments

Description Simon Pieters 2013-10-09 12:08:13 UTC
http://lists.w3.org/Archives/Public/public-whatwg-archive/2013Oct/0060.html

[[
Given the reasons brought up in this thread I should think that the WG  
would agree that "SVGElement implements GlobalEventHandlers" is an  
acceptable way forward.
]]

Arguments being

http://lists.w3.org/Archives/Public/public-whatwg-archive/2013Oct/0056.html

So the SVG spec should say

SVGElement implements GlobalEventHandlers;

It follows that the SVG spec should also define all event handlers in GlobalEventHandlers as content attributes on all elements in the SVG namespace (including unknown elements).
Comment 1 Philip Jägenstedt 2013-10-16 07:42:31 UTC
Yeah, after I've been poking at this in Blink, I've noticed that while a lot of the IDL attributes are on SVGElement, the corresponding content attributes aren't actually reflected, which is silly.