LibWeb: Paint fragments contained by inline node as part of this node

Fragments contained by the inline node should be painted in the
foreground phase for this node, instead of being painted as a part of
the containing PaintableWithLines. This change implements that by
marking all fragments contained by inline nodes so they can be skipped
while painting the content of PaintableWithLines. This is an ugly way,
and instead, we should make InlinePaintables own all fragments
contained by them.
This commit is contained in:
Aliaksandr Kalenik 2024-01-03 19:00:04 +01:00 committed by Andreas Kling
commit 6c645f3a9f
Notes: sideshowbarker 2024-07-16 22:34:39 +09:00
6 changed files with 45 additions and 3 deletions

View file

@ -24,6 +24,8 @@ public:
CSSPixelRect bounding_rect() const;
void mark_contained_fragments();
private:
InlinePaintable(Layout::InlineNode const&);