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

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

Firefox 4 seems to action on some html tags that are included within a html comment tag which it should not.

  • 1 amsa
  • 7 sa na da wannan matsala
  • 3 views
  • Amsa ta ƙarshe daga the-edmeister

more options

Consider the following html code where I open a textarea and include a comment tag within the textarea. Within the comment tag (which Firefox 4 should ignore) I've included a close textarea tag. Firefox 4 (unlike FF3 and IE) closes the textarea.

The following code is also available at

http://www.cems.uwe.ac.uk/caa/ffbug/index.html

We are about to start a textarea....

<textarea rows='20' cols='40'>
Here is the textarea.
Inside these comment blocks I'll put a close textarea tag which Firefox should ignore but does not.
<p>
<!--
We are now inside comment blocks...
<br>
This code should be inside the text area.<br>
</textarea>
<br>
and so should this code be <b>inside</b> the text area (but is not in Firefox 4).
-->
</textarea>
<p>


This code should be outside the textbox.

Consider the following html code where I open a textarea and include a comment tag within the textarea. Within the comment tag (which Firefox 4 should ignore) I've included a close textarea tag. Firefox 4 (unlike FF3 and IE) closes the textarea. The following code is also available at http://www.cems.uwe.ac.uk/caa/ffbug/index.html We are about to start a textarea....<p> <pre><nowiki><textarea rows='20' cols='40'> Here is the textarea. Inside these comment blocks I'll put a close textarea tag which Firefox should ignore but does not. <p> <!-- We are now inside comment blocks... <br> This code should be inside the text area.<br> </textarea> <br> and so should this code be <b>inside</b> the text area (but is not in Firefox 4). --> </textarea> <p></nowiki></pre> This code should be outside the textbox.

An gyara daga cor-el

All Replies (1)

more options

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
http://forums.mozillazine.org/viewforum.php?f=25
You'll need to register and login to be able to post in that forum.