Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 1 trả lời
  • 7 gặp vấn đề này
  • 3 lượt xem
  • Trả lời mới nhất được viết bởi 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.

Được chỉnh sửa bởi cor-el vào

Tất cả các câu trả lời (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.