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)

defect

Tracking

()

VERIFIED FIXED

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.
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 -------------------------------------
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.)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: compat
OS: Windows NT → All
Hardware: PC → All
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.
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
Status: NEW → ASSIGNED
Whiteboard: fix waiting
Setting correct milestone.
Target Milestone: --- → M18
massive update for QA contact.
QA Contact: petersen → lorca
Keywords: dataloss
Whiteboard: fix waiting → [nsbeta3]fix waiting
All better
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
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.
Reopening. As Dan says, this is not fixed. Rick, did you forget to check the patch in?
Status: RESOLVED → REOPENED
Keywords: compat → 4xp
Resolution: FIXED → ---
Whiteboard: [nsbeta3]fix waiting → [nsbeta3+]
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
Very small risk.
Priority: P3 → P2
Whiteboard: [nsbeta3+] → [nsbeta3+][PDTP2]
*** Bug 46054 has been marked as a duplicate of this bug. ***
Trivial fix to elementtable.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
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.

Attachment

General

Created:
Updated:
Size: