1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:47:36 +00:00

LibWeb: Improve computation of a layout node's containing block

In particular, we now compute the containing block of boxes with
position:absolute and position:fixed (more) correctly.
This commit is contained in:
Andreas Kling 2020-06-05 16:54:28 +02:00
parent 762617a028
commit 7fcf61be35
3 changed files with 43 additions and 5 deletions

View file

@ -45,6 +45,8 @@ public:
void did_set_viewport_rect(Badge<Frame>, const Gfx::Rect&);
virtual bool is_root() const override { return true; }
private:
LayoutRange m_selection;
};