diff options
author | Oriol Brufau <obrufau@igalia.com> | 2024-10-21 12:41:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-21 10:41:42 +0000 |
commit | 2319764a1eaa1a3e15a2a393e5570afe4cffbca1 (patch) | |
tree | 2b08698516d17053566464ced276859756af5f15 /components/script/dom/servoparser/mod.rs | |
parent | fee927475b6bd13e80a4bdc1712cb3aa04805099 (diff) | |
download | servo-2319764a1eaa1a3e15a2a393e5570afe4cffbca1.tar.gz servo-2319764a1eaa1a3e15a2a393e5570afe4cffbca1.zip |
Refactor positioned layout (#33922)
This unifies the size resolution into AbsoluteAxisSolver, since it needs
to know the size in order to resolve auto margins correctly anyways.
This will allow adding support for sizing keywords in a follow-up patch.
Also, this avoids doing multiple layouts due to min and max constraints,
improving performance.
Additionally, tables may end up having a custom size, different than
what we would expect by just looking at the sizing properties. This
patch ensures that we resolve margins correctly with the final size,
resulting in 2 tests now passing.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'components/script/dom/servoparser/mod.rs')
0 files changed, 0 insertions, 0 deletions