mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-11 02:29:18 +00:00
LibWeb: Allow ImageProvider to not have a corresponding DOM node
This is prep work for CSS content:image.
This commit is contained in:
parent
9603aa0745
commit
0e94c4e270
Notes:
github-actions[bot]
2025-07-28 20:48:14 +00:00
Author: https://github.com/awesomekling
Commit: 0e94c4e270
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5621
5 changed files with 5 additions and 5 deletions
|
@ -85,7 +85,7 @@ private:
|
|||
virtual Optional<CSSPixelFraction> intrinsic_aspect_ratio() const override;
|
||||
virtual RefPtr<Gfx::ImmutableBitmap> current_image_bitmap(Gfx::IntSize = {}) const override;
|
||||
virtual void set_visible_in_viewport(bool) override;
|
||||
virtual GC::Ref<DOM::Element const> to_html_element() const override { return *this; }
|
||||
virtual GC::Ptr<DOM::Element const> to_html_element() const override { return *this; }
|
||||
|
||||
GC::Ptr<DecodedImageData> image_data() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue