Open Bug 1162814 Opened 9 years ago Updated 2 years ago

"ASSERTION: unknown block-size unit"

Categories

(Core :: Layout, defect)

defect

Tracking

()

Tracking Status
firefox40 --- affected

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(4 files)

Attached file testcase
###!!! ASSERTION: unknown block-size unit: 'bSizeCoord.GetUnit() == eStyleUnit_Auto || bSizeCoord.HasPercent()', file layout/base/nsLayoutUtils.cpp, line 4157
Attached file stack
Attached patch fixSplinter Review
I think the code here is correct.  As a percentage basis we treat
'-moz-min-content' etc as 'auto' and return false.  So we just need
to update the assert condition to allow these values.
Assignee: nobody → mats
Attachment #8603345 - Flags: review?(roc)
Attached patch crash testSplinter Review
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a6cc15b66b99

Fwiw, the test still asserts:
"Computed overflow area must contain frame bounds"  (bug 757269)

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: MatsPalmgren_bugz → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: