LibWeb: Make SVGImageElement part of CanvasImageSource union

This is very janky at the moment but it also more correct. :^)
This commit is contained in:
Andreas Kling
2024-10-04 14:39:04 +02:00
committed by Andreas Kling
parent 902586a21d
commit cd0e4a49b8
10 changed files with 69 additions and 12 deletions

View File

@@ -10,6 +10,7 @@
#include <LibWeb/HTML/CanvasPattern.h>
#include <LibWeb/HTML/CanvasRenderingContext2D.h>
#include <LibWeb/HTML/ImageBitmap.h>
#include <LibWeb/SVG/SVGImageElement.h>
namespace Web::HTML {