Closed
Bug 296003
Opened 19 years ago
Closed 19 years ago
<p> elements in XHTML transformed from XML/XSL renders incorrectly
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 250921
People
(Reporter: pwberry, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 The referenced XSL stylesheet copies (using <xsl:copy-of>) the contents of the <elem> element in the XML (two <p> elements) into the <body> of the XHTML. The two <p> elements are rendered on the same line, but should be on different lines. The DOM inspector and the generated XHTML both show that the correct transformations are made. Copying the generated XHTML source into a file and loading that into Firefox produces the correct results (in http://sucs.org/~pwb/tests/xslt/test.html only a doctype has been added, but it renders correctly without it too). Reproducible: Always Steps to Reproduce: 1. Look at http://sucs.org/~pwb/tests/xslt/test.xml 2. Click on page, press ^A, select "View selection source" from context menu 3. Compare with http://sucs.org/~pwb/tests/xslt/test.html Actual Results: The two paragraphs are displayed on the same line. Expected Results: The two paragraphs are displayed on separate lines. Reproduced on nightly build of 30 May 2005
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Comment 2•19 years ago
|
||
I've simplified it since writing the original summary, by eliminating the <elem> element and just putting the <p>s under the root element. The bug still manifests.
Comment 3•19 years ago
|
||
Dupe of bug 250921?
Reporter | ||
Comment 4•19 years ago
|
||
Aaaaah.... yes, I evidently had a naive understanding of what the transformations did. Works under IE, because it does this wrongly :) *** This bug has been marked as a duplicate of 250921 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•