1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:27:43 +00:00

LibWeb: Move border painting from Layout::Box to a free function

This will allow us to share some code between inline and non-inline
border painting.
This commit is contained in:
Andreas Kling 2020-12-04 18:02:21 +01:00
parent c01070df1b
commit 3eb07d289e
6 changed files with 211 additions and 128 deletions

View file

@ -29,6 +29,7 @@
#include <LibWeb/Layout/InitialContainingBlockBox.h>
#include <LibWeb/Layout/LineBoxFragment.h>
#include <LibWeb/Layout/TextNode.h>
#include <LibWeb/Painting/BorderPainting.h>
#include <LibWeb/Painting/PaintContext.h>
#include <ctype.h>