Large svg not rendering properly in img tag
Categories
(Core :: SVG, defect)
Tracking
()
People
(Reporter: robertas.uldukis, Unassigned)
References
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
Steps to reproduce:
Add large svg image to html img tag (svg image attached).
For example: <html><img src="big.svg"/></html>
Actual results:
In a table, last icons starting from Teacher12 until end is not rendered.
Expected results:
Open same big.svg file with browsers as a svg file, all elements will be rendered properly. But if the same svg file is added into html file as <img>, then is rendered with some missing elements.
Comment 1•5 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::SVG' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•5 years ago
|
||
Good example, as you can see 29 icons are missing in the bottom of diagram.
Comment 4•5 years ago
|
||
On macOS, the SVG displays nothing (entirely blank) when used in an <img> tag, although opened standalone, it renders OK.
If I zoom the test page (comment 2) out to 50%, then it does render (presumably because it's no longer so huge), though still with icons missing from the last rows.
Comment 6•3 years ago
|
||
This appears to work in current Nightly for me. From running moz-regression --find-fix, it seems that bug 1814878 and bug 1821512 (at least for Windows) contributed to resolving this.
Description
•