WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
201104
Parsing a data URL image with a fragment identifier at the end results a broken image
https://bugs.webkit.org/show_bug.cgi?id=201104
Summary
Parsing a data URL image with a fragment identifier at the end results a brok...
Said Abou-Hallawa
Reported
2019-08-23 16:41:22 PDT
Created
attachment 377179
[details]
test case Open the attached test case. Result: The SVG shows a broken image. Expected: A 100x100 green rectangle. The SVG has an image which has href="data:image/svg+xml<svg>...<view id='view'/>...</svg>#view". Parsing this URL fails and the image loader marks the image a "broken image".
Attachments
test case
(355 bytes, image/svg+xml)
2019-08-23 16:41 PDT
,
Said Abou-Hallawa
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Said Abou-Hallawa
Comment 1
2019-08-23 16:43:51 PDT
Related WPT failed test:
https://wpt.fyi/results/svg/embedded/image-embedding-svg-viewref-with-viewbox.svg?label=master&label=experimental&aligned
Alex Christensen
Comment 2
2019-08-26 11:06:28 PDT
It looks like something special needs to be done when loading an SVN data url with a fragment:
https://svgwg.org/svg2-draft/linking.html#LinksIntoSVG
Ahmad Saleem
Comment 3
2022-10-21 16:31:21 PDT
Safari Technology Preview 156 passes following WPT test mentioned in
Comment 01
and also the attached test case show "green" square similar to Chrome Canary 109 and Firefox Nightly 108. Marking this as "RESOLVED CONFIGURATION CHANGED". Thanks! Please reopen if this is reproducible with other test case. Thanks!
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