Bug 19011 - Webkit renders EMBED fallback content instead of OBJECT content
Summary: Webkit renders EMBED fallback content instead of OBJECT content
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://musique.3suisses.fr/
Keywords: HasReduction
: 17690 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-12 09:58 PDT by jasneet
Modified: 2023-05-05 14:10 PDT (History)
5 users (show)

See Also:


Attachments
screenshot (219.00 KB, image/jpeg)
2008-05-12 09:58 PDT, jasneet
no flags Details
reduction (791 bytes, text/html)
2008-05-12 09:59 PDT, jasneet
no flags Details
reduction (920 bytes, text/html)
2008-05-12 10:05 PDT, jasneet
no flags Details
even reduced test case (365 bytes, text/html)
2008-06-02 05:03 PDT, Robert Blaut
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasneet 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
Comment 1 jasneet 2008-05-12 09:58:36 PDT
Created attachment 21085 [details]
screenshot
Comment 2 jasneet 2008-05-12 09:59:00 PDT
Created attachment 21086 [details]
reduction
Comment 3 jasneet 2008-05-12 10:05:10 PDT
Created attachment 21087 [details]
reduction
Comment 4 Robert Blaut 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. 
Comment 5 Robert Blaut 2008-06-02 05:03:41 PDT
Created attachment 21459 [details]
even reduced test case
Comment 6 Robert Blaut 2008-07-28 12:11:58 PDT
*** Bug 17690 has been marked as a duplicate of this bug. ***
Comment 7 Ahmad Saleem 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.