Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 1 réponse
  • 7 ont ce problème
  • 3 vues
  • Dernière réponse par 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.

Modifié le par cor-el

Toutes les réponses (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.