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:
parent
762617a028
commit
7fcf61be35
3 changed files with 43 additions and 5 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue