"ASSERTION: Non-zero percentage values not currently supported" with XUL, min-width

NEW
Unassigned

Status

()

Core
XUL
10 years ago
2 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Blocks: 1 bug, {assertion, testcase})

Trunk
x86
Mac OS X
assertion, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(4 attachments)

(Reporter)

Description

10 years ago
Created attachment 337548 [details]
testcase

###!!! ASSERTION: Non-zero percentage values not currently supported: 'min == 0.0f', file /Users/jruderman/central/layout/xul/base/src/nsBox.cpp, line 761
(Reporter)

Comment 1

10 years ago
http://hg.mozilla.org/mozilla-central/rev/53ef3c05e895 changed the assertion, so now it's:

###!!! ASSERTION: Non-zero percentage values not currently supported: 'position->mMinWidth.GetPercentValue() == 0.0f', file /Users/jruderman/central/layout/xul/base/src/nsBox.cpp, line 761
(Reporter)

Comment 2

10 years ago
Created attachment 340702 [details]
testcase for the corresponding "height" assertion

###!!! ASSERTION: Non-zero percentage values not currently supported: 'position->mMinHeight.GetPercentValue() == 0.0f', file /Users/jruderman/central/layout/xul/base/src/nsBox.cpp, line 778

Updated

9 years ago
Assignee: jag → nobody
(Reporter)

Comment 3

7 years ago
Created attachment 491767 [details]
non-XUL testcase
(Reporter)

Comment 4

7 years ago
Created attachment 491768 [details]
non-XUL testcase for width
(Reporter)

Comment 5

2 years ago
I can still reproduce on trunk (using the "non-XUL" testcases).
You need to log in before you can comment on or make changes to this bug.