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 26688 - <svg onload> should reflect window.onload
Summary: <svg onload> should reflect window.onload
Status: NEW
Alias: None
Product: SVG
Classification: Unclassified
Component: Interactivity (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: 2014-08-28 14:02 UTC by Simon Pieters
Modified: 2014-08-28 14:57 UTC (History)
2 users (show)

See Also:


Attachments

Description Simon Pieters 2014-08-28 14:02:53 UTC
http://www.w3.org/TR/SVG2/interact.html#LoadEvent
http://www.w3.org/TR/SVG2/script.html#OnLoadEventAttribute

It seems like the intent is to make <svg onload> be like HTML's <body onload>, but the spec fails to actually make it so as far as I can tell.

(It is possible that all event handlers in SVG need tweaking to have the right semantics.)

http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#handler-onload
http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-body-element
Comment 1 Boris Zbarsky 2014-08-28 14:57:54 UTC
Only for the root SVG of an SVG document, right?