WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
22906
Limit of 200 svgs loaded via <embed>?
https://bugs.webkit.org/show_bug.cgi?id=22906
Summary
Limit of 200 svgs loaded via <embed>?
Jonathan Leech
Reported
2008-12-17 15:24:13 PST
Tried with iframe and embed, data:URI and seperate .svg files, after the 200th SVG in a document, further SVG elements are not rendered.
Attachments
256 SVGs via embed to a seperate SVG resource
(19.60 KB, text/html)
2008-12-17 15:27 PST
,
Jonathan Leech
no flags
Details
Green SVG rectangle.
(183 bytes, image/svg+xml)
2008-12-17 15:28 PST
,
Jonathan Leech
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Jonathan Leech
Comment 1
2008-12-17 15:27:56 PST
Created
attachment 26103
[details]
256 SVGs via embed to a seperate SVG resource 256 green rectangles in SVG via <embed>. The first and 256th have a thick red border. The 201st - 256th are not rendered in webkit.
Jonathan Leech
Comment 2
2008-12-17 15:28:53 PST
Created
attachment 26104
[details]
Green SVG rectangle.
Eric Seidel (no email)
Comment 3
2009-04-28 17:17:19 PDT
This seems to have little to do with SVG, and entirely to do with any page-resource limits WebKit might have more generally. The test case does not work from bugzilla, but does "work" when used locally. Our behavior is different from FF and Opera here. I assume that it's intentional, but I'm not sure.
Jonathan Leech
Comment 4
2009-04-29 08:11:21 PDT
The test case has to be downloaded out of bugzilla and run independently. The html file depends on the svg file. I didn't see another way to do it other than zip the files together. I had the same thought about general limits, I did a search in the webkit codebase for "200" and didn't come up with anything, but I cant't attest to the thoroughness of my search. I did create 200+ <img> (png) tags successfully, I didn't try anything else. If there is a general limit in place, intentional or not, I don't think it should apply to SVG.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug