Closed Bug 404213 Opened 17 years ago Closed 17 years ago

"ASSERTION: overflow containers out of order" with -moz-column, relative and absolute positioning

Categories

(Core :: Layout, defect, P3)

x86
macOS
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: fantasai.bugs)

References

Details

(Keywords: assertion, testcase, Whiteboard: post 1.8-branch)

Attachments

(2 files)

Attached file testcase
Loading the testcase triggers:

###!!! ASSERTION: overflow containers out of order: '!(mOverflowContList && mOverflowContList->ContainsFrame(aOverflowCont))', file /Users/jruderman/trunk/mozilla/layout/generic/nsContainerFrame.cpp, line 1373

Filing as security-sensitive per bug 399843 comment 2.
Flags: blocking1.9?
Flags: blocking1.9? → blocking1.9+
Priority: -- → P3
Assignee: nobody → fantasai.bugs
Attached patch patchSplinter Review
There's two problems here: one is that the test condition in the while loop that skips irrelevant frames was incorrect. The other problem is that several parts of the code weren't updated properly to deal with skipped frames. This patch should fix both, and update assertions appropriately.
Attachment #290592 - Flags: superreview?(bzbarsky)
Attachment #290592 - Flags: review?(bzbarsky)
Status: NEW → ASSIGNED
I think it'd make more sense for roc to review this....
Attachment #290592 - Flags: superreview?(roc)
Attachment #290592 - Flags: superreview?(bzbarsky)
Attachment #290592 - Flags: review?(roc)
Attachment #290592 - Flags: review?(bzbarsky)
Attachment #290592 - Flags: superreview?(roc)
Attachment #290592 - Flags: superreview+
Attachment #290592 - Flags: review?(roc)
Attachment #290592 - Flags: review+
Fix checked in, nsContainerFrame.cpp rev 1.295
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
Depends on: 406485
I'm not seeing any assertions on the 1.8 branch with this testcase, but maybe they were added later. Do we need/want this patch on the branch?

What is the severity of this bug as a security issue?
Flags: wanted1.8.1.x?
We don't have overflow containers on the branch, so this bug should be a non-issue there, as I understand.  roc, fantasai, please correct me if I'm wrong!
That's correct; the overflow containers code was added to the 1.9 branch on 2007-07-25 and as a very high-risk change I doubt anyone would have backported it 1.8 branch (especially without telling me) :P
Flags: wanted1.8.1.x?
This fix made it into the beta and it's trunk only, removing the security flag.
Group: security
Flags: wanted1.8.1.x-
Whiteboard: post 1.8-branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: