Closed Bug 310928 Opened 19 years ago Closed 19 years ago

<textarea> incorrectly parses the <![CDATA[ ]]> tag

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: cid73, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.7.12) Gecko/20050919 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.7.12) Gecko/20050919 Firefox/1.0.7

Please try this codes in Firefox and try view source:

<textarea rows="14" cols="60">
wrong parsing:
<![CDATA[ The CDATA tag is incorrectly parsed. ]]>

should be:
&lt;![CDATA[ The CDATA tag is incorrectly parsed. ]]&gt;

wrong parsing:
<![ This tag is actually &lt;![ This tag ]&gt;, ok? ]>

should be:
&lt;![ This tag is actually &lt;![ This tag ]&gt;, ok? ]&gt;
</textarea>

As you can see, with <textarea> everything in a <![ ]> goes wrong even entities.
Is it a bug? If it is, please fix it. I'm not a good English writer, just excuse
me for I can't type too much, thank you!

Reproducible: Always

Steps to Reproduce:
Attached file case from comment 0
I think this is wfm in current trunk build.
Reporter, could you please test with the nightly trunk build to verify this bug
is already fixed somehow?
http://ftp.scarlet.be/pub/mozilla.org/firefox/nightly/latest-trunk/
Yes, it has been fixed in 1.6a1-win32 version, I'll test it on Linux version
later, but I don't have a mac machine. Thank you.
Ok, then this is WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: