Closed
Bug 46054
Opened 26 years ago
Closed 26 years ago
<plaintext> hides entities and tags' attributes
Categories
(Core :: DOM: HTML Parser, defect, P3)
Core
DOM: HTML Parser
Tracking
()
M18
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"b<br clear=all>c&FOO;d<BAR/>
2. Visit it.
Actual Results: "ab<br>cd<BAR>" is displayed.
Expected Results: "a"b<br clear=all>c&FOO;d<BAR/>" is displayed.
Bug #14049 claimed to fix <plaintext>.
| Reporter | ||
Comment 1•26 years ago
|
||
Oops - the demo URL should be http://www.uio.no/~hbf/mbug4.html .
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
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
| Reporter | ||
Comment 10•26 years ago
|
||
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/>/'.
| Reporter | ||
Comment 11•26 years ago
|
||
Oops - i forgot the build ID: 2000091109, sparc-sun-solaris2.6.
| Reporter | ||
Comment 12•26 years ago
|
||
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 → ---
| Assignee | ||
Comment 13•26 years ago
|
||
Hmmm, so it is, how odd. Let's take a look.
Status: REOPENED → ASSIGNED
Comment 14•26 years ago
|
||
Hmmm...I noticed this too. Rickg, attributes, for elements that record trailing
content (!!! ), should not call AppendSource() in CollectSkippedContent()...I think.
Comment 15•26 years ago
|
||
*** Bug 53398 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 16•26 years ago
|
||
*** This bug has been marked as a duplicate of 49278 ***
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•