mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:57:45 +00:00
LibWeb: Include SVG-as-image isolated contexts in layout/DOM tree dumps
This allows us to see the inside of SVG-as-image in layout tests. :^)
This commit is contained in:
parent
24ea78c613
commit
94a26e2715
3 changed files with 43 additions and 1 deletions
|
@ -27,6 +27,8 @@ public:
|
|||
virtual size_t loop_count() const override { return 0; }
|
||||
virtual bool is_animated() const override { return false; }
|
||||
|
||||
DOM::Document const& svg_document() const { return *m_document; }
|
||||
|
||||
private:
|
||||
class SVGPageClient;
|
||||
SVGDecodedImageData(NonnullOwnPtr<Page>, NonnullOwnPtr<SVGPageClient>, JS::Handle<DOM::Document>, JS::Handle<SVG::SVGSVGElement>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue