mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
LibWeb: Add box-shadow rendering
This patch adds the box-shadow rendering to Boxes. We do parse the blur-radius of a box-shadow but we don't use it for now as the Filter in the system don't seem quite powerful enough yet to handle that.
This commit is contained in:
parent
281689e1fa
commit
5471c87246
2 changed files with 31 additions and 1 deletions
|
@ -111,6 +111,7 @@ public:
|
|||
|
||||
virtual void paint(PaintContext&, PaintPhase) override;
|
||||
virtual void paint_border(PaintContext& context);
|
||||
virtual void paint_box_shadow(PaintContext& context);
|
||||
virtual void paint_background(PaintContext& context);
|
||||
|
||||
Vector<LineBox>& line_boxes() { return m_line_boxes; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue