Bug 116398

Summary: svg/batik/text/textPosition2.svg is flakey (<use> element loading)
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: SVGAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: dino, krit, rniwa, simon.fraser, thorton, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Simon Fraser (smfr) 2013-05-18 14:16:14 PDT
svg/batik/text/textPosition2.svg is flakey; sometimes the surrounding box loads, and sometimes it does not. It's doing:

<use xmlns="http://www.w3.org/2000/svg" xlink:href="../resources/batikLogo.svg#Batik_Tag_Box" xmlns:xlink="http://www.w3.org/1999/xlink"/>
Comment 1 Simon Fraser (smfr) 2013-05-18 19:33:46 PDT
See also bug 85408.
Comment 2 Ryosuke Niwa 2013-05-21 22:17:25 PDT
There is some race condition with respect to when invalidateShadowTree is called versus when SVGUseElement::notifyFinished is called. When the test fails, SVGUseElement::notifyFinished is called after Document::implicitClose and a subsequent invalidateShadowTree bails out early due to renderer() being 0.
Comment 3 Ryosuke Niwa 2013-05-22 01:22:06 PDT
It could be that this was caused by the patch for https://bugs.webkit.org/show_bug.cgi?id=81985.
Comment 4 Ryosuke Niwa 2013-05-23 12:45:33 PDT

*** This bug has been marked as a duplicate of bug 85408 ***