Closed
Bug 1351204
Opened 8 years ago
Closed 8 years ago
stylo: Assertion failure: pixelValue >= 0 (we ensured non-negative while parsing)
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: xidorn, Unassigned)
References
Details
I'm seeing this assertion on layout/reftests/image-rect/dom-api-computed-style.html
I strongly suspect this is an issue from bug 1341763, but I have no idea why it didn't show up without my patch in bug 1345696.
Part of the stack:
Assertion failure: pixelValue >= 0 (we ensured non-negative while parsing), at c:/mozilla-source/stylo/layout/style/nsStyleStruct.cpp:2293
#01: nsStyleImage::ComputeActualCropRect (c:\mozilla-source\stylo\layout\style\nsstylestruct.cpp:2348)
#02: mozilla::nsImageRenderer::PrepareImage (c:\mozilla-source\stylo\layout\painting\nsimagerenderer.cpp:133)
#03: nsCSSRendering::PrepareImageLayer (c:\mozilla-source\stylo\layout\painting\nscssrendering.cpp:3960)
#04: nsDisplayBackgroundImage::GetInitData (c:\mozilla-source\stylo\layout\painting\nsdisplaylist.cpp:2861)
#05: nsDisplayBackgroundImage::AppendBackgroundItemsToTop (c:\mozilla-source\stylo\layout\painting\nsdisplaylist.cpp:3119)
#06: nsFrame::DisplayBackgroundUnconditional (c:\mozilla-source\stylo\layout\generic\nsframe.cpp:2064)
#07: nsFrame::DisplayBorderBackgroundOutline (c:\mozilla-source\stylo\layout\generic\nsframe.cpp:2088)
#08: nsBlockFrame::BuildDisplayList (c:\mozilla-source\stylo\layout\generic\nsblockframe.cpp:6627)
Reporter | ||
Comment 1•8 years ago
|
||
Guess it is fixed by servo/servo#16142. I'll rebase and see.
Reporter | ||
Comment 2•8 years ago
|
||
Looks like it is fixed.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•