Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

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

  • 1 Antwort
  • 7 haben dieses Problem
  • 3 Aufrufe
  • Letzte Antwort von 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.

Geändert am von cor-el

Alle Antworten (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.