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

LibWeb: Make IFC register absolutely positioned descendants with BFC

This allows BFC to position all absolutely positioned descendants in the
same pass.
This commit is contained in:
Andreas Kling 2022-02-15 01:54:48 +01:00
parent 6444525edc
commit dcc2568439
2 changed files with 3 additions and 1 deletions

View file

@ -37,6 +37,8 @@ public:
static void compute_height(Box&);
void add_absolutely_positioned_box(Box& box) { m_absolutely_positioned_boxes.append(box); }
protected:
void compute_position(Box&);