mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 20:16:02 +00:00
LibWeb: Port inline elements to the new Paintable system
This patch adds InlinePaintable which corresponds to Layout::InlineNode.
This commit is contained in:
parent
053766d79c
commit
aae356baf1
Notes:
sideshowbarker
2024-07-17 17:34:51 +09:00
Author: https://github.com/awesomekling
Commit: aae356baf1
7 changed files with 184 additions and 126 deletions
|
@ -15,11 +15,7 @@ public:
|
|||
InlineNode(DOM::Document&, DOM::Element*, NonnullRefPtr<CSS::StyleProperties>);
|
||||
virtual ~InlineNode() override;
|
||||
|
||||
void paint_inline(PaintContext&, Painting::PaintPhase) const;
|
||||
|
||||
private:
|
||||
template<typename Callback>
|
||||
void for_each_fragment(Callback) const;
|
||||
virtual OwnPtr<Painting::Paintable> create_paintable() const override;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue