Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Fungování této stránky je z důvodu údržby dočasně omezeno. Pokud žádný článek nápovědy nevyřeší váš problém a potřebujete se zeptat na další řešení, napište nám na Twitter @FirefoxSupport nebo Reddit /r/firefox.

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

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

  • 1 odpověď
  • 7 má tento problém
  • 3 zobrazení
  • Poslední odpověď od 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.

Upravil uživatel cor-el dne

Všechny odpovědi (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.