Closed Bug 90560 Opened 23 years ago Closed 23 years ago

XML blocks do not wrap text

Categories

(Core :: CSS Parsing and Computation, defect)

x86
All
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 86276

People

(Reporter: moz2.mizar, Assigned: pierre)

Details

Attachments

(3 files)

I have tested this in the recent dailies in linux and windows, they all behave the same way. Older versions, at least 0.9.1 and before do not have this problem. This bug has something to do with the way mozilla is treating blocks and margins. If you have a block element and then apply a left or right margin the text does not wrap. The xml file consists of one <text> tag nested within a root tag. The nested tag can be viewed with two CSS stylesheets, one with a left-margin set, and one without margins. The two CSS choices for the file can be seen by changing the stylesheet under the View menu. As you can see, when you have a block that has the left margin set, the text does not wrap. The bug exists for any type of margin applied in any way to the right or the left, padding included. It also does not matter how many parents the block has, or whether those parents have display set to block, inline or undefined. However, if the text is in the root tag, everything is dandy. I don't think this is bug 86983 because that bug was dealing with tables and lists. This is more fundamental. Plus, all the examples on that bug work for me except the "really long <hr>" stuff. And that's supposed to be part of bug 87543.
I lied. That last file is the css WITH a specified margin-left.
->Style System
Assignee: asa → pierre
Status: UNCONFIRMED → NEW
Component: Browser-General → Style System
Ever confirmed: true
QA Contact: doronr → ian
This bug completely blocks the use of xml in mozilla related products. Blocks with margins are the most basic display units that exist. This bug is also a regression. It is present on the 0.9.3 and 0.9.2 branches and on the trunk. People using the latest netscapes or mozilla will not be able to display XML. I think it should be nominated for catfood, higher priority, next mozilla branch, and fixed for the previous releases. It also is an XML blocker and a CSS1 issue.
*** This bug has been marked as a duplicate of 86276 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: