Closed Bug 1223232 Opened 5 years ago Closed 5 years ago

"ASSERTION: inline-size less than zero: 'aContainingBlockISize >= 0'"

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: jruderman, Assigned: mats)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(4 files)

Attached file testcase
###!!! ASSERTION: inline-size less than zero: 'aContainingBlockISize >= 0', file layout/base/nsLayoutUtils.cpp, line 4935

Note: bug 1153759 has another "inline-size less than zero" assertion with a different condition.
Attached file stack
Assignee: nobody → mats
Attached patch fixSplinter Review
aDesiredSize is 0,0.  It's a table-row frame with 'border-style: dotted'
which makes the computed border non-zero, hence the negative CB size.

But nsTableRowFrame overrides GetUsedBorder():
http://mxr.mozilla.org/mozilla-central/source/layout/tables/nsTableRowFrame.cpp#271
so I think that's what we want to use here.
Attachment #8685985 - Flags: review?(roc)
Flags: in-testsuite+
https://hg.mozilla.org/mozilla-central/rev/5e5a5420f0e1
https://hg.mozilla.org/mozilla-central/rev/81e5c1bef9e3
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
See Also: → 1379306
See Also: 1379306
See Also: → 1379038
You need to log in before you can comment on or make changes to this bug.