Closed Bug 46054 Opened 26 years ago Closed 26 years ago

<plaintext> hides entities and tags' attributes

Categories

(Core :: DOM: HTML Parser, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 49278

People

(Reporter: h.b.furuseth, Assigned: rickg)

References

()

Details

(Whiteboard: [nsbeta3+] data loss fix waiting.)

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; SunOS 5.7 sun4u; en-US; m16) Gecko/20000621 BuildID: 2000062115 <plaintext> displays <tags>, but not &entities; nor anything following the initial word in a <tag ...>. I don't believe Mozilla should parse data after <plaintext> at all. (<plaintext> also removes </html>, but not </body>. I don't know which, if any, of these should be removed.) Reproducible: Always Steps to Reproduce: 1. Make a doc with <plaintext>a&quot;b<br clear=all>c&FOO;d<BAR/> 2. Visit it. Actual Results: "ab<br>cd<BAR>" is displayed. Expected Results: "a&quot;b<br clear=all>c&FOO;d<BAR/>" is displayed. Bug #14049 claimed to fix <plaintext>.
2000072420win32talkback. Printed to Postscript file using windows 2000 `HP Color LaserJet PS` driver. ran ps2pdf to view with acrobat.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Solaris → All
Hardware: Sun → All
Depends on: 12184
Not a very high priority issue. Setting milestone to FUTURE.
Target Milestone: --- → Future
Please excuse the errant comment; Adding patch kw and cc's. Harrish do you intend to check in that partial patch?
Keywords: patch
Whiteboard: data loss fix waiting.
Target Milestone: Future → M18
I have the same patch in my tree, and I'll land it shortly.
Status: NEW → ASSIGNED
rickg do you need nsbeta3+ to check in? [nominating] or would it be better to get brendan to approve? [cc]
Keywords: nsbeta3
Whiteboard: data loss fix waiting. → [nsbeta3+] data loss fix waiting.
Proposing for nsbeta3, since 1) it's a dataloss bug (same as 49278); and 2) it's fixed in my tree.
Fixed
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Sorry, still buggy. Tags' attributes are now output *after* the tag as well as inside it. That is, the testcase URL displays '<br clear=all>clear=all' and '<BAR/>/'.
Oops - i forgot the build ID: 2000091109, sparc-sun-solaris2.6.
Oh dear, I should've reopened the bug too... maybe I got it right this time. Anyway, 2000091521 also duplicates attributes: '<br clear=all>clear=all'.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Hmmm, so it is, how odd. Let's take a look.
Status: REOPENED → ASSIGNED
Hmmm...I noticed this too. Rickg, attributes, for elements that record trailing content (!!! ), should not call AppendSource() in CollectSkippedContent()...I think.
*** Bug 53398 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 49278 ***
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → DUPLICATE
updated qa contact.
QA Contact: janc → bsharma
QA Contact: bsharma → moied
verified duplicate of 49278 which is fixed -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: