SVG image is not correct rendered on a canvas because of " entity in a url
Categories
(Core :: Graphics, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox117 | --- | affected |
People
(Reporter: calixte, Unassigned)
Details
Attachments
(1 file)
|
2.30 KB,
text/html
|
Details |
In pdf.js we've some ref tests which generate some svg with the html used to render a page, this svg is drawn onto a canvas and exported into png to make it comparable with some references we've.
The SVG file has a foreign object which is some html containing in its style something like:
background-image: url(" .... ");...
and this background isn't drawn (on the left in the test case) unless " are replaced by ' (on the right).
| Reporter | ||
Comment 1•2 years ago
|
||
The first time the test case is loaded nothing is rendered but it's likely an other bug (see bug 1844414).
Comment 2•2 years ago
|
||
The testcase renders the same for me in Firefox, Safari, and Chrome. Safari even shares the "not drawing anything on first load" that Firefox has.
Comment 3•2 years ago
|
||
Since we match other browsers, unless we (along with the other browsers) are not following the spec, should this be resolved as invalid?
Updated•2 years ago
|
Description
•