mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
Although the parameter is named "available size," it is always supposed to represent the containing block size whenever it has a definite value. Therefore, it is possible to simply use this value instead of performing a containing block lookup. This change actually improves correctness for grid items whose containing block is defined by the grid area, as `Node::containing_block()` does not account for this.