mirror of
https://github.com/servo/servo.git
synced 2025-09-27 15:20:09 +01:00
layout: Correctly handle margins in sticky positioning (#39393)
This fixes the logic that computes sticky offset bounds in order to correctly take margins into account. Testing: One test passes Fixes: #39389 Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
e3e2dcb5a2
commit
7a3a28c7f1
2 changed files with 74 additions and 21 deletions
|
@ -1,3 +0,0 @@
|
|||
[position-sticky-margins.html]
|
||||
[The margin is taken into account when making sure the sticky element does not escape its container]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue