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:
parent
c36b54a7bf
commit
080b4e5e27
3 changed files with 47 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue