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)
Tracking
()
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
Assignee | ||
Comment 1•23 years ago
|
||
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
Assignee | ||
Comment 3•23 years ago
|
||
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
Updated•23 years ago
|
Whiteboard: [Hixie-P2]
Assignee | ||
Comment 4•23 years ago
|
||
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?
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.6 → Future
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
Assignee | ||
Comment 6•23 years ago
|
||
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
You need to log in
before you can comment on or make changes to this bug.
Description
•