Open Bug 50959 Opened 24 years ago Updated 2 years ago

[MARGIN-C]block vertical margins need rewrite

Categories

(Core :: Layout: Block and Inline, defect, P3)

defect

Tracking

()

Future

People

(Reporter: dbaron, Unassigned)

References

(Depends on 1 open bug, Blocks 6 open bugs)

Details

(Keywords: css1, highrisk, Whiteboard: [CSS1-4.1.1])

Attachments

(1 file)

I'm giving up on my attempts to fix most of the bugs in vertical margins on blocks. My changes are doing things that I didn't expect them to do, and I just don't have the energy to look at this code anymore to figure out why not. The original changes were better in terms of correctness but crashed in some cases (e.g., tinderbox popups). The #if 0 code shows my original changes. I will attach the changes that I am currently removing from my tree. I will attempt to pull the one or two easy fixes out of these changes and try and get them checked in. However, the margin code has serious problems and I don't understand the block code well enough to fix them.
Keywords: css1
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Future
Summary: block vertical margins need rewrite → [MARGIN-C]block vertical margins need rewrite
The changes here basically fix bug 50142 and bug 44242. There are also other related MARGIN-C bugs, some of which are compat issues that are less important once we have released and set a precedent. Some of those compat issues may be fixed by these changes (or an improvement of these changes) as well.
Blocks: 44242, 50142
Keywords: ns6.01
dbaron, which bugs did you try to fix but failed (i.e. which other bugs would this fix apart from bugs 44242,50142)?
Those are the bugs I succeeded in fixing with these changes. I was trying to fix many of the other bugs marked [MARGIN-C], e.g., bug 18206 (I may have had that fixed too), bug 29413, and bug 34404. I hadn't yet thought of a good way to fix the compatibility [MARGIN-C] bugs.
Keywords: nsbeta1
Is anyone else here willing to pick these changes up and run with them? I'm currently trying to get involved with fixing layout bugs, but I've got a bunch of learning to do first before I can really help fix bugs of this scope.
Taking back. Part of what the original rewrite did, plus other things, is being done for bug 86947.
Assignee: buster → dbaron
Status: NEW → ASSIGNED
Blocks: 104166
Attachment #13833 - Flags: needs-work+
Has there been any progress in the meantime?
Component: Layout → Layout: Block & Inline
Whiteboard: [CSS1-4.1.1]
So roc rewrote them again more recently, regressing performance significantly, and I think we need another rewrite, so this is still valid.
Assignee: dbaron → nobody
Status: ASSIGNED → NEW
QA Contact: chrispetersen → layout.block-and-inline
Blocks: 87277
Blocks: 372303
Flags: wanted1.9.1?
Flags: wanted1.9.1?
Flags: wanted1.9.1-
Flags: blocking1.9.1-
Blocks: 493380
No longer blocks: 372303
Blocks: 33784, 166194, 376365, 451791, 616296, 616339
No longer blocks: 493380
Depends on: 477462
Blocks: 680761
Blocks: 521875
Severity: normal → S3

The severity field for this bug is relatively low, S3. However, the bug has 10 votes.
:jfkthame, could you consider increasing the bug severity?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jfkthame)

The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.

Flags: needinfo?(jfkthame)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: