Summary: | Reproducible crash when browsing SVG map. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Major | CC: | mrowe, zimmermann |
Priority: | P1 | Keywords: | NeedsReduction |
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | http://apps.arcwebservices.com/svgviewer/map.html |
Description
Eric Seidel (no email)
2007-01-31 05:39:15 PST
Steps to reproduce: 1. Load http://apps.arcwebservices.com/svgviewer/map.html 2. Click on Settings, then on Scale Bar. 3. *crash* the <use> element seems to be missing a renderer. I expect this is because a parent element is display: none. I'm just not sure what should be done to void SVGUseElement::notifyAttributeChange() const as a result. Should it check (!attached() || !renderer()) ? As in, I'm not sure if anything needs to happen when it doesn't have a renderer. Maybe the shadow tree still needs to be built? Not sure. I partially blame this crash on the evilness that is notifyAttributeChange. Or at least my inability to fix it w/o better understanding what things are "expected" to happen even if <use> has display: none... but WildFox would accuse me of scape-goating (probably correctly so). |