Bug 85408

Summary: svg/batik/text tests are flaky on Mac as of r115860
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: krit, rniwa, simon.fraser, thorton, zimmermann
Priority: P2 Keywords: InRadar, LayoutTestFailure, MakingBotsRed
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: All   
Bug Depends on: 114120, 114375    
Bug Blocks:    

Description Filip Pizlo 2012-05-02 12:57:26 PDT
It's making the bots red.
Comment 1 Filip Pizlo 2012-05-02 12:57:50 PDT
<rdar://problem/11366008>
Comment 2 Filip Pizlo 2012-05-02 13:01:19 PDT
Test expectations changed in http://trac.webkit.org/changeset/115871
Comment 3 Simon Fraser (smfr) 2013-03-16 12:19:54 PDT
Also svg/batik/paints/gradientLimit.svg
Comment 4 Simon Fraser (smfr) 2013-05-18 19:33:34 PDT
See also bug 116398.
Comment 5 Ryosuke Niwa 2013-05-23 12:45:00 PDT
From https://bugs.webkit.org/show_bug.cgi?id=116398

 Comment #2 From Ryosuke Niwa 2013-05-21 22:17:25 PST
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 From Ryosuke Niwa 2013-05-22 01:22:06 PST
It could be that this was caused by the patch for https://bugs.webkit.org/show_bug.cgi?id=81985.
Comment 6 Ryosuke Niwa 2013-05-23 12:45:25 PDT
Description From Simon Fraser (smfr) 2013-05-18 14:16:14 PST
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 7 Ryosuke Niwa 2013-05-23 12:45:33 PDT
*** Bug 116398 has been marked as a duplicate of this bug. ***
Comment 8 Ryosuke Niwa 2013-05-23 12:46:05 PDT
*** Bug 116477 has been marked as a duplicate of this bug. ***