Closed
Bug 49278
Opened 26 years ago
Closed 26 years ago
<XMP> default layout is inconsistent with NS4.6 / IE5.0
Categories
(Core :: Layout, defect, P2)
Core
Layout
Tracking
()
VERIFIED
FIXED
M18
People
(Reporter: dciemo, Assigned: rickg)
References
Details
(Keywords: dataloss, testcase, Whiteboard: [nsbeta3+][PDTP2])
Attachments
(3 files)
See related bug 47150 for test case.
If you notice in NS4.6 and IE5.0, the HTML sequence:
<HR><XMP>Some Text between the "XMP" tags</XMP><HR>
has about one line of leading between the horizontal rules and the
text as in the following:
-------------------------------------
Some Text between the "XMP" tags
-------------------------------------
However in M17, this lays out as:
-------------------------------------
Some Text between the "XMP" tags
-------------------------------------
So the default layout is inconsistent with other browser implementations.
A nit picked.
| Reporter | ||
Comment 1•26 years ago
|
||
Hmmm. There's a bug in the M17 text fields because I had typed in the correct
leading and layout as:
-------------------------------------
Some Text between the "XMP" tags
-------------------------------------
Comment 2•26 years ago
|
||
Comment 3•26 years ago
|
||
Comment 4•26 years ago
|
||
Confirming, because the layout indeed is inconsistent. It appears that Mozilla doesn't
recognize <xmp> at all, since the default font is used instead of the monospaced font.
However, I think this should either be a very low priority bug or WONTFIX. There is no
such tag as <xmp> in HTML 4. <xmp> was deprecated in favor of <pre> in HTML 3.2.
(Please ignore the first test case.)
Comment 5•26 years ago
|
||
Support for <xmp> is needed for compatibility with HTML 2.0 even though the HTML 2.0
spec says HTML documents should not contain <xmp> (or <listing>) elements.
Anyway, support for legacy HTML 2.0 documents could be considered a reason for not
dismissing this bug as WONTFIX.
Comment 6•26 years ago
|
||
Harish, Rick: the content model is not accepting text inside the <xmp>
element. If you put a border on the xmp element, you will see that it is
getting closed as soon as the text start.
html.css already contains the required rules (same as <pre>).
This is a low priority bug (xmp is deprecated) but if it is easy to fix it would
be nice to do it.
Assignee: clayton → harishd
This is a dup, and the bug is fixed in my tree. In it's common form, it appears
as dataloss.
Assignee: harishd → rickg
Keywords: dataloss
Whiteboard: fix waiting → [nsbeta3]fix waiting
| Assignee | ||
Comment 10•26 years ago
|
||
All better
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Comment 11•26 years ago
|
||
What build is this supposed to be "fixed" in? I regressed to PR2 and tested also
in 2000-09-13-13 (both on Mac OS 9) and I get the same results in both. Can
anyone help me out here so I can verify this? Thanks. -Dan.
Comment 12•26 years ago
|
||
Reopening. As Dan says, this is not fixed. Rick, did you forget to check the
patch in?
Comment 13•26 years ago
|
||
| Assignee | ||
Comment 14•26 years ago
|
||
The problem has to do with a containment rule in the elementtable. I'm not sure
how I missed this (relatively) trivial issue, but it now works fine in my tree.
Status: REOPENED → ASSIGNED
Comment 15•26 years ago
|
||
Very small risk.
Priority: P3 → P2
Whiteboard: [nsbeta3+] → [nsbeta3+][PDTP2]
| Assignee | ||
Comment 16•26 years ago
|
||
*** Bug 46054 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 17•26 years ago
|
||
Trivial fix to elementtable.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
Comment 18•26 years ago
|
||
Verified Fixed on Mozilla trunk builds.
linux 102708 RedHat 6.2
win32 102704 NT 4
mac 102708 Mac OS9
Tested and Verified branch builds too because I didn't see any comment about
verified on the branch. There are no build IDs on the branch builds to report
but they are 10/27
removing vtrunk keyword and setting bug status to Verified
Status: RESOLVED → VERIFIED
Keywords: vtrunk
SPAM. HTML Element component deprecated, changing component to Layout. See bug
88132 for details.
Component: HTML Element → Layout
You need to log in
before you can comment on or make changes to this bug.
Description
•