Closed Bug 382129 Opened 18 years ago Closed 18 years ago

Image with -moz-appearance: checkbox has inconsistent size and triggers "ASSERTION: bad width: 'GetInnerArea().width == mComputedSize.width'"

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

189 bytes, application/xhtml+xml
Details
Attached file testcase
The size of the image is not consistent: Cmd+R usually makes it big, while Cmd+Shift+R usually makes it small. When it is big, I see this assertion: ###!!! ASSERTION: bad width: 'GetInnerArea().width == mComputedSize.width', file /Users/jruderman/trunk/mozilla/layout/generic/nsImageFrame.cpp, line 1177
WFM on trunk. The image always appears at its intrinsic size and I don't see any assertions or warnings.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
I filed bug 400789 with a testcase that does trigger the assertion on trunk, reliably.
I checked in the testcase as a crashtest. I didn't make the test reload itself or anything like that, so it's not quite testing the right thing.
Flags: in-testsuite+
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: