Assertion with <style scoped> in SVG

RESOLVED FIXED in mozilla21

Status

()

RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: jruderman, Assigned: heycam)

Tracking

(Blocks: 2 bugs, {assertion, testcase})

Trunk
mozilla21
x86_64
Mac OS X
assertion, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
Created attachment 712296 [details]
testcase

###!!! ASSERTION: only call UpdateIsElementInStyleScopeFlagOnSubtree on a subtree that has IsElementInStyleScope boolean flag set: 'aElement->IsElementInStyleScope()', file content/base/src/nsStyleLinkElement.cpp, line 259

> nsStyleLinkElement::DoUpdateStyleSheet(nsIDocument*, nsICSSLoaderObserver*, bool*, bool*, bool) [obj-firefox/dist/include/nsCOMPtr.h:764]
> nsStyleLinkElement::UpdateStyleSheetInternal(nsIDocument*, bool) [content/base/src/nsStyleLinkElement.cpp:206]
> mozilla::dom::SVGStyleElement::UnbindFromTree(bool, bool) [obj-firefox/dist/include/nsCOMPtr.h:492]
> mozilla::dom::Element::UnbindFromTree(bool, bool) [content/base/src/Element.cpp:1374]
> nsDocument::cycleCollection::UnlinkImpl(void*) [content/base/src/nsDocument.cpp:1744]
> nsCycleCollector::CollectWhite(nsICycleCollectorListener*) [xpcom/base/nsCycleCollector.cpp:2401]
> nsCycleCollector::FinishCollection(nsICycleCollectorListener*) [xpcom/base/nsCycleCollector.cpp:3021]
> nsCycleCollector::Collect(bool, nsCycleCollectorResults*, unsigned int, nsICycleCollectorListener*) [xpcom/base/nsCycleCollector.cpp:2906]
> nsCycleCollector::Shutdown() [obj-firefox/dist/include/nsCOMPtr.h:492]
> nsCycleCollector_shutdown() [xpcom/base/nsCycleCollector.cpp:3391]
> mozilla::ShutdownXPCOM(nsIServiceManager*) [xpcom/glue/nsCOMPtr.h:764]
> ScopedXPCOMStartup::~ScopedXPCOMStartup() [toolkit/xre/nsAppRunner.cpp:1126]
> XREMain::XRE_main(int, char**, nsXREAppData const*) [obj-firefox/dist/include/mozilla/mozalloc.h:224]
> XRE_main [toolkit/xre/nsAppRunner.cpp:4102]
> main [browser/app/nsBrowserApp.cpp:185]
Assignee: nobody → cam
(Assignee)

Comment 1

6 years ago
Created attachment 712788 [details] [diff] [review]
patch
Attachment #712788 - Flags: review?(bzbarsky)
Comment on attachment 712788 [details] [diff] [review]
patch

r=me
Attachment #712788 - Flags: review?(bzbarsky) → review+

Comment 4

6 years ago
https://hg.mozilla.org/mozilla-central/rev/09ddbf34dc17
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in before you can comment on or make changes to this bug.