mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +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
|
@ -48,6 +48,8 @@ private:
|
|||
explicit ImageResource(Resource&);
|
||||
|
||||
void decode_if_needed() const;
|
||||
void decode_svg_image() const;
|
||||
void decode_image() const;
|
||||
|
||||
mutable bool m_animated { false };
|
||||
mutable int m_loop_count { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue