RESOLVED FIXED 27623
Video elements fires another "load" event when attached to DOM
https://bugs.webkit.org/show_bug.cgi?id=27623
Summary Video elements fires another "load" event when attached to DOM
Charles Ying
Reported 2009-07-23 13:27:55 PDT
Created attachment 33363 [details] test reduction When a video element not attached to the DOM is loaded first (prior to attachment), then attached, a second "load" event is fired on the video element. This manifests itself as a repeated load event in the sample code which adds the video to the DOM only after the video has finished loading. This is illustrated by commenting out the "jQuery("#container").append(video);" line from the attached reduction.
Attachments
test reduction (651 bytes, text/html)
2009-07-23 13:27 PDT, Charles Ying
no flags
proposed patch (3.91 KB, patch)
2009-07-30 08:30 PDT, Eric Carlson
simon.fraser: review+
Eric Carlson
Comment 1 2009-07-29 15:39:00 PDT
Looks like you forgot to attach the test case.
Charles Ying
Comment 2 2009-07-29 15:47:35 PDT
I think I attached it, it appears in the attachments as "test reduction"
Eric Carlson
Comment 3 2009-07-30 08:30:05 PDT
Created attachment 33784 [details] proposed patch
Eric Carlson
Comment 4 2009-07-30 09:06:45 PDT
Note You need to log in before you can comment on or make changes to this bug.