mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
LibWeb: Treat grid item as it creates stacking context during painting
Grid specification https://www.w3.org/TR/css-grid-2/#z-order defines special painting order for grid items which should be the same as for defined for inline-blocks in CSS2.
This commit is contained in:
parent
b4064320bd
commit
95a8dec373
7 changed files with 74 additions and 10 deletions
|
@ -29,6 +29,7 @@ public:
|
|||
FocusAndOverlay,
|
||||
};
|
||||
|
||||
void paint_node_as_stacking_context(Paintable const&, PaintContext&) const;
|
||||
void paint_descendants(PaintContext&, Paintable const&, StackingContextPaintPhase) const;
|
||||
void paint(PaintContext&) const;
|
||||
Optional<HitTestResult> hit_test(CSSPixelPoint, HitTestType) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue