Bug 98259

Summary: SVG parsing problem with javascript
Product: WebKit Reporter: pierreetienne.meunier
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: bfulgham, pdr, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.6   
Attachments:
Description Flags
test.html
none
The corresponding svg file none

pierreetienne.meunier
Reported 2012-10-03 06:28:40 PDT
Elements included from javascript (from a parsed external svg file) are not always shown if not separated by at least one character, while they work fine if loaded independently. In the attached file test0.svg, remove the space between the </text> and <path …>, this makes the path disappear in test.html.
Attachments
test.html (792 bytes, text/html)
2012-10-03 06:29 PDT, pierreetienne.meunier
no flags
The corresponding svg file (288 bytes, image/svg+xml)
2012-10-03 06:29 PDT, pierreetienne.meunier
no flags
pierreetienne.meunier
Comment 1 2012-10-03 06:29:05 PDT
Created attachment 166878 [details] test.html
pierreetienne.meunier
Comment 2 2012-10-03 06:29:27 PDT
Created attachment 166879 [details] The corresponding svg file
Robert Longson
Comment 3 2012-10-03 08:16:46 PDT
Philip Rogers
Comment 4 2012-10-03 08:47:34 PDT
(In reply to comment #3) > This isn't valid see https://bugzilla.mozilla.org/show_bug.cgi?id=797329#c7 Thanks Robert!
pierreetienne.meunier
Comment 5 2012-10-03 10:13:53 PDT
Ok, sorry !
Philip Rogers
Comment 6 2012-10-03 10:17:47 PDT
(In reply to comment #5) > Ok, sorry ! No worries! Thank you for taking the time to write this up, even if it didn't end up being an issue in the end. Bug reports help make browsers better, so thanks :)
Note You need to log in before you can comment on or make changes to this bug.