mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:07:36 +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
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