This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox 4 displays closing CDATA tag ]]> on the screen for object tag

  • 1 cavab
  • 6 have this problem
  • 1 view
  • Last reply by cor-el

more options

With the recent Firefox 4 version. I am facing following problems with the website I am developing:

1. For svg objects inside html page with Firefox 4 it now displays closing CDATA tag on the screen.

It only displays ]]> on the screen.

I have object specified using

<object class="svgobj batteryGraphObj" type="image/svg+xml"> 
      <![CDATA[
        <?xml version="1.0" encoding="UTF-8"?>
 ]]>......
      </object>

2. When the svg is added using div tags it doesn't display on the screen if the width is more than browser width. It was working on Firefox 3.6 but have stopped working with 4. We had a overflow specified with scrolling effect on the screen if user wants to view next section.

With the recent Firefox 4 version. I am facing following problems with the website I am developing: 1. For svg objects inside html page with Firefox 4 it now displays closing CDATA tag on the screen. It only displays ]]> on the screen. I have object specified using <pre><nowiki><object class="svgobj batteryGraphObj" type="image/svg+xml"> <![CDATA[ <?xml version="1.0" encoding="UTF-8"?> ]]>...... </object></nowiki></pre> 2. When the svg is added using div tags it doesn't display on the screen if the width is more than browser width. It was working on Firefox 3.6 but have stopped working with 4. We had a overflow specified with scrolling effect on the screen if user wants to view next section.

Modified by cor-el

All Replies (1)

more options

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25