Closed
Bug 1140216
Opened 10 years ago
Closed 10 years ago
"Assertion failure: mSpinDown" with CSS: input { -moz-appearance: textfield; }
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: jruderman, Assigned: bzbarsky)
References
Details
(Keywords: assertion, testcase)
Attachments
(3 files)
Assertion failure: mSpinDown, at layout/forms/nsNumberControlFrame.cpp:818
Reporter | ||
Comment 1•10 years ago
|
||
![]() |
Assignee | |
Comment 2•10 years ago
|
||
So apparently we do this purposefully!
In nsNumberControlFrame::CreateAnonymousContent we skip creating mSpinBox, mSpinUp, and mSpinDown if StyleDisplay()->mAppearance == NS_THEME_TEXTFIELD.
Which means that asserting anything about them existing is just bogus, since clearly they don't have to exist. The asserts were added in the same bug as the check above (bug 947728) and I think they just need to go away.
![]() |
Assignee | |
Comment 3•10 years ago
|
||
Attachment #8573701 -
Flags: review?(jwatt)
![]() |
Assignee | |
Updated•10 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
![]() |
||
Comment 4•10 years ago
|
||
Comment on attachment 8573701 [details] [diff] [review]
Remove asserts that stuff that we never create is not null, since it clearly is null
For consistency add the comment to the nsCSSPseudoElements::ePseudo_mozNumberSpinUp case too.
Attachment #8573701 -
Flags: review?(jwatt) → review+
![]() |
Assignee | |
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•