mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:17:46 +00:00
LibWeb: Compute position of relative block elements
Section 10.3 "Calculating widths and margins" indicates that the 'left' and 'right' properties of relatively positioned elements should be set in accordance with the rules of section 9.4.3.
This commit is contained in:
parent
13266e7d99
commit
deda7c8995
2 changed files with 38 additions and 0 deletions
|
@ -47,6 +47,7 @@ public:
|
|||
protected:
|
||||
void compute_width(Box&);
|
||||
void compute_height(Box&);
|
||||
void compute_position(Box&);
|
||||
|
||||
private:
|
||||
virtual bool is_block_formatting_context() const final { return true; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue