NEW 19011
Webkit renders EMBED fallback content instead of OBJECT content
https://bugs.webkit.org/show_bug.cgi?id=19011
Summary Webkit renders EMBED fallback content instead of OBJECT content
jasneet
Reported 2008-05-12 09:58:18 PDT
I Steps: Go to http://musique.3suisses.fr/ II Issue: the player at the top center column has red colored control buttons. IE/FF/Opera have black colored control buttons. III Conclusion: Issue is due to : <param value="bgcolor1=EAEDF2&bgcolor2=14353c&buttoncolor=000000&buttonovercolor=000000&slidercolor1=000000&slidercolor2=000000&sliderovercolor=000000&textcolor=0&showstop=1&showinfo=0&showvolume=1" name="FlashVars"/> <embed width="100%" height="20" flashvars="bgcolor1=EAEDF2&bgcolor2=14353c&buttoncolor=733b35&buttonovercolor=0&slidercolor1=733b35&slidercolor2=de1a16&sliderovercolor=733b35&textcolor=0&showstop=1&showinfo=0&showvolume=1" wmode="transparent" src="player_mp3_maxi.swf"/> param and embed have different colors defined for play/pause volume stop buttons. IE/FF/Opera display color defined in param element where as Safari displays color defined in embed tag IV Other browsers: IE7: ok FF3: ok Opera9.24: ok V Nightly tested: 32871
Attachments
screenshot (219.00 KB, image/jpeg)
2008-05-12 09:58 PDT, jasneet
no flags
reduction (791 bytes, text/html)
2008-05-12 09:59 PDT, jasneet
no flags
reduction (920 bytes, text/html)
2008-05-12 10:05 PDT, jasneet
no flags
even reduced test case (365 bytes, text/html)
2008-06-02 05:03 PDT, Robert Blaut
no flags
jasneet
Comment 1 2008-05-12 09:58:36 PDT
Created attachment 21085 [details] screenshot
jasneet
Comment 2 2008-05-12 09:59:00 PDT
Created attachment 21086 [details] reduction
jasneet
Comment 3 2008-05-12 10:05:10 PDT
Created attachment 21087 [details] reduction
Robert Blaut
Comment 4 2008-06-02 05:03:05 PDT
I can confirm the bug. It looks like Webkit violates "Rules for rendering objects": "A user agent must interpret an OBJECT element according to the following precedence rules: 1. The user agent must first try to render the object. It should not render the element's contents, [...]. 2. If the user agent is not able to render the object for whatever reason (configured not to, lack of resources, wrong architecture, etc.), it must try to render its contents." [http://www.w3.org/TR/html401/struct/objects.html#h-13.3.1] WebKit actually incorrectly renders fall back EMBED content instead of OBJECT content which is of cause which is available for rendering.
Robert Blaut
Comment 5 2008-06-02 05:03:41 PDT
Created attachment 21459 [details] even reduced test case
Robert Blaut
Comment 6 2008-07-28 12:11:58 PDT
*** Bug 17690 has been marked as a duplicate of this bug. ***
Ahmad Saleem
Comment 7 2023-05-05 14:10:15 PDT
Loading 'even reduced test case' in Safari 16.4 shows 'broken image' icon while Chrome Canary 115, I have ruffle extension (Flash in Rust Emulator) and it shows that Ruffle is not able to run this. While Firefox Nightly 114 does not render anything like broken image or embedded flash etc.
Note You need to log in before you can comment on or make changes to this bug.