Closed
Bug 788919
Opened 12 years ago
Closed 12 years ago
"Assertion failure: IsElement()" changing markerStart on <svg:text>
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: jruderman, Assigned: jwatt)
References
Details
(Keywords: assertion, regression, testcase)
Attachments
(2 files)
###!!! ASSERTION: Shouldn't be trying to restyle non-elements directly: '!aContent || aContent->IsElement()', file ../../../layout/base/nsStyleChangeList.cpp, line 65 ###!!! ASSERTION: aFrame's content should be an element: 'aFrame->GetContent()->IsElement()', file ../../../../../layout/svg/base/src/nsSVGEffects.cpp, line 480 Assertion failure: IsElement(), at ../../../../dist/include/mozilla/dom/Element.h:340
Reporter | ||
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
This is the same issue as bug 782888. The problem is that markerStart inherits by default (why???) and in particular gets inherited into textframes. So we're trying to restyle a textframe. We really need to do _something_ here. Bug 775304 caused us to violate some invariants. We need to either stop doing that (either by backing out that bug or in some other way), or fix all the code that depended on those invariants.
Sounds like we should back it out, unless there's a big reason the optimization is important.
(And we should add comments pointing out that hints that result from inherited properties can't be non-inherited.)
Updated•12 years ago
|
Comment 5•12 years ago
|
||
backout of 775304 in bug 782888 is already approved for 17, but assigning this one to Jonathan anyway to make sure that the backout does what is intended for this bug.
Assignee: nobody → jwatt
Comment 6•12 years ago
|
||
Fixed by Cameron's patch in bug 782888
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Target Milestone: --- → mozilla18
Comment 7•12 years ago
|
||
Tested on: Firefox 17.0 Beta Debug Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Firefox/17.0 Build ID: 20121020072533 I opened Firefox from Terminal and ran the testcase from comment 0. After running the testcase no assertion message was found and no crashes occurred.
Comment 8•12 years ago
|
||
Verified on Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:18.0) Gecko/20121130 Firefox/18.0 Beta Debug Build ID: 20121130125945 I started Firefox Nightly Debug 18.0 Beta from Terminal and ran testcase from comment 0. No assertion found after running the testcase.
You need to log in
before you can comment on or make changes to this bug.
Description
•