Closed Bug 97982 Opened 23 years ago Closed 23 years ago

XML and HTML react differently to the same CSS

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 86276
Future

People

(Reporter: levi, Assigned: dbaron)

References

()

Details

(Whiteboard: [Hixie-P2])

Attachments

(1 file)

(deleted), application/octet-stream
Details
When converting a page from XHTML to pure XML, I noticed a problem with CSS and XML. The same CSS produced diffrent results when apllied to XML rather than HTML. The original element was a div (which gets "display: block" set in html.css) and the new element had "display: block" set in the CSS file; therfore, their CSS properties should have been identical, but they rendered at differnt widths. -Levi
If the difference could be explained by the blah element not having 'display: block', then this could be a duplicate of bug 86276, but I'd have to poke at the testcase a bit to tell.
Yes, it does depend on the blah element not being "display: block". However, the two bugs don't seem to be quite the same. Perhaps they are seperate symptoms of a single problem. -Levi
Depends on: 86276
This is actually more interesting than I thought. The lines that have the wrong width are still marked dirty. I wonder if the second-pass reflow of the floater just isn't happening.
Status: UNCONFIRMED → ASSIGNED
Component: Style System → Layout
Ever confirmed: true
Priority: -- → P3
Target Milestone: --- → mozilla0.9.6
Whiteboard: [Hixie-P2]
Do you still have this testcase? It's gone, and that's too bad, because it looked like an interesting and perhaps serious bug. If so, could you attach it to the bug as an attachment?
Target Milestone: mozilla0.9.6 → Future
Attached file The Original Testcase (deleted) —
Sorry about that. I did some website restructuring and forgot that there was a link from this page to the testcase. I'll try to fix the web page to get you to the right place, but I've attached a tgz of the testcase so it will be avalible no matter what. -Levi
This looks fixed (should be in tomorrow's build). *** This bug has been marked as a duplicate of 86276 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified 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: