LibWeb: Resolve SVGImageElement source URL correctly

This fixes an issue where an SVGImageElement, whose source was a
relative URL would not load inside an iframe.
This commit is contained in:
Tim Ledbetter 2025-01-19 08:29:19 +00:00 committed by Alexander Kalenik
commit 400aefb784
Notes: github-actions[bot] 2025-01-19 14:03:31 +00:00
3 changed files with 13 additions and 2 deletions

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<iframe srcdoc="<svg xmlns='http://www.w3.org/2000/svg'><rect width='150' height='100' fill='green' /></svg>"></iframe>