1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:48:11 +00:00

LibWeb: Allow loading of SVGs in ImageResource

This will allow for SVGs to be loaded when used in CSS rules.
This commit is contained in:
PrestonLTaylor 2023-06-04 18:33:12 +01:00 committed by Andreas Kling
parent c36b54a7bf
commit 080b4e5e27
3 changed files with 47 additions and 2 deletions

View file

@ -74,6 +74,8 @@ protected:
explicit Resource(Type, LoadRequest const&);
Resource(Type, Resource&);
LoadRequest request() const { return m_request; }
private:
LoadRequest m_request;
ByteBuffer m_encoded_data;