Closed Bug 416845 Opened 17 years ago Closed 16 years ago

"ASSERTION: Unexpected position"

Categories

(Core :: Layout: Tables, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.1a2

People

(Reporter: jruderman, Assigned: MatsPalmgren_bugz)

References

Details

(Keywords: assertion, testcase)

Attachments

(4 files)

Attached file testcase
Loading the testcase triggers: ###!!! ASSERTION: Unexpected position: 'rgFrame->GetPosition().x == 0', file /Users/jruderman/trunk/mozilla/layout/tables/nsTableFrame.cpp, line 3446
Attached file Testcase #2
Attached file Testcase #3
Same thing in HTML, this produces the same frame tree as #2.
I think this assertion is wrong, setting the x-position to zero actually causes a layout bug. http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/layout/tables/nsTableFrame.cpp&rev=3.724&root=/cvsroot&mark=3424,3499,3500#3424
OS: Mac OS X → All
Hardware: PC → All
Attached patch Patch rev. 1Splinter Review
Assignee: nobody → mats.palmgren
Status: NEW → ASSIGNED
Attachment #330472 - Flags: superreview?(dbaron)
Attachment #330472 - Flags: review?(dbaron)
Yeah, I just asserted it so that we'd catch this bug if the 0 was wrong...
Boris, if you're familiar with the code in question, did you want to review the patch?
Comment on attachment 330472 [details] [diff] [review] Patch rev. 1 I can certainly sr. I think bernd should review.
Attachment #330472 - Flags: superreview?(dbaron)
Attachment #330472 - Flags: superreview+
Attachment #330472 - Flags: review?(dbaron)
Attachment #330472 - Flags: review?(bernd_mozilla)
I am away for vacation will do after august 1th
Comment on attachment 330472 [details] [diff] [review] Patch rev. 1 makes sense
Attachment #330472 - Flags: review?(bernd_mozilla) → review+
Checked in, with the tests.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1a2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: