mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Allow ImageProvider to not have a corresponding DOM node
This is prep work for CSS content:image.
This commit is contained in:
committed by
Andreas Kling
parent
9603aa0745
commit
0e94c4e270
Notes:
github-actions[bot]
2025-07-28 20:48:14 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/0e94c4e2707 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5621
@@ -283,7 +283,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; }
|
||||
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
Reference in New Issue
Block a user