Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Firefox rendering text content within OBJECT

 
   Web Hosting Problem Solving Community! (Home) -> Webmaster RSS
Related Topics:
Weird rendering in Mozilla/Firefox - This page is fully XHTML. In IE this page renders perfectly (there's a first! :)), but under Mozilla & Firefox the DIVs sometimes expand deeper than they should, and for the life of me I cant work out why...

IE rendering anomaly-what do you see? - hi. 'they say' there are problems with the rendering of which is a proto of a directory on the subject of ink and printing. the problem: screen not drawing all the way, big polar bear in snowstorm at screen bottom. the

Emulation: rendering webpage on mobile devices - Dear A desktop emulation to render web content with different mobile display sizes through a virtual laytout engine is now available at: Jenner Research offers webxcope service for mobile device..

plugins for Internet Explorer and Netscape for webpage ren.. - Hi Is there a plugin for Internet Explorer and Netscape or any other web browser that is standards The reason is the browser issues that often shows it's ugly head. thanks Neil Morris -- my IE6 favorites for import into

Safari/Opera 6 poor rendering of simple table. - I hope someone can help me with this. This page renders well in IE, NS & Opera 7, however someone with a MAC reports trouble when viewing in Safari - notably two broad white bands across the screen. This can also be in Opera 6.02..
Next:  Webmaster: -?Welfare_babies,_greasy_diners_and_other_tidbits  
Author Message
KarlCore

External


Since: Nov 08, 2007
Posts: 45



(Msg. 1) Posted: Tue Feb 19, 2008 11:33 am
Post subject: Firefox rendering text content within OBJECT
Archived from groups: alt>www>webmaster (more info?)

I recently found something interesting with Firefox's handling of text
within the OBJECT element.

View this page on IE and the text will not be rendered to screen.
View it in Firefox and it will.
http://dev.karlcore.com/experimental/HTML/embed.html

I've checked this with users of Safari, Opera, IE 6 and IE 7.

http://www.w3.org/TR/html401/struct/objects.html#edef-OBJECT
The W3C documentation clearly describes a sort of "if-elseif-else"
rendering of OBJECT where the text is only supposed to display if all
else fails with the other items before it within the parent OBJECT
element.

Please sanity check this in case it is just my version of FF that is
b0rken.
I am using Firefox/2.0.0.12 (the latest version)

Karl

 >> Stay informed about: Firefox rendering text content within OBJECT 
Back to top
Login to vote
KarlCore

External


Since: Nov 08, 2007
Posts: 45



(Msg. 2) Posted: Tue Feb 19, 2008 12:40 pm
Post subject: Re: Firefox rendering text content within OBJECT [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Feb 19, 3:08 pm, Michael Fesser <neti....RemoveThis@gmx.de> wrote:
> .oO(KarlCore)
>
>
>
> >I recently found something interesting with Firefox's handling of text
> >within the OBJECT element.
>
> >View this page on IE and the text will not be rendered to screen.
> >View it in Firefox and it will.
> >http://dev.karlcore.com/experimental/HTML/embed.html
>
> >I've checked this with users of Safari, Opera, IE 6 and IE 7.
>
> >http://www.w3.org/TR/html401/struct/objects.html#edef-OBJECT
> >The W3C documentation clearly describes a sort of "if-elseif-else"
> >rendering of OBJECT where the text is only supposed to display if all
> >else fails with the other items before it within the parent OBJECT
> >element.
>
> >Please sanity check this in case it is just my version of FF that is
> >b0rken.
> >I am using Firefox/2.0.0.12 (the latest version)
>
> IMHO it's not FF, but your code that causes the problem.
>
> FF can't do much with the outer object - it doesn't have a 'type'
> attribute and no 'data', but the ugly and rather Windows-specific
> 'classid' instead. Pretty useless. So since FF can't handle that, it
> renders the content of the outer object instead, which means the inner
> object and the text which follows it. Perfectly correct behaviour.
>
> But why do you use such an ugly construct at all? The most simple
>
> <object
> type="application/x-shockwave-flash"
> data="example.swf"
> width="xxx" height="yyy">
> <param name="movie" value="example.swf">
> Alternative non-Flash content
> </object>
>
> should work in all modern browsers and even in IE 6. No need for a CC
> workaround or any platform-specific attributes.
>
> Micha


Excellent. Thank you.

Karl

 >> Stay informed about: Firefox rendering text content within OBJECT 
Back to top
Login to vote
Duende

External


Since: Nov 07, 2007
Posts: 7



(Msg. 3) Posted: Tue Feb 19, 2008 9:02 pm
Post subject: Re: Firefox rendering text content within OBJECT [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

Back to top
Login to vote
Michael Fesser

External


Since: Nov 13, 2005
Posts: 22



(Msg. 4) Posted: Tue Feb 19, 2008 9:08 pm
Post subject: Re: Firefox rendering text content within OBJECT [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

..oO(KarlCore)

>I recently found something interesting with Firefox's handling of text
>within the OBJECT element.
>
>View this page on IE and the text will not be rendered to screen.
>View it in Firefox and it will.
>http://dev.karlcore.com/experimental/HTML/embed.html
>
>I've checked this with users of Safari, Opera, IE 6 and IE 7.
>
>http://www.w3.org/TR/html401/struct/objects.html#edef-OBJECT
>The W3C documentation clearly describes a sort of "if-elseif-else"
>rendering of OBJECT where the text is only supposed to display if all
>else fails with the other items before it within the parent OBJECT
>element.
>
>Please sanity check this in case it is just my version of FF that is
>b0rken.
>I am using Firefox/2.0.0.12 (the latest version)

IMHO it's not FF, but your code that causes the problem.

FF can't do much with the outer object - it doesn't have a 'type'
attribute and no 'data', but the ugly and rather Windows-specific
'classid' instead. Pretty useless. So since FF can't handle that, it
renders the content of the outer object instead, which means the inner
object and the text which follows it. Perfectly correct behaviour.

But why do you use such an ugly construct at all? The most simple

<object
type="application/x-shockwave-flash"
data="example.swf"
width="xxx" height="yyy">
<param name="movie" value="example.swf">
Alternative non-Flash content
</object>

should work in all modern browsers and even in IE 6. No need for a CC
workaround or any platform-specific attributes.

Micha
 >> Stay informed about: Firefox rendering text content within OBJECT 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]