mirror of
https://github.com/servo/servo.git
synced 2025-09-20 03:40:09 +01:00
layout: Take sticky offsets into account for offset queries (#39385)
`offsetLeft` and `offsetTop` were ignoring that sticky positioned boxes can be shifted out of their normal position. Testing: Various test improvements. Signed-off-by: Oriol Brufau <obrufau@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
754c938722
commit
2c3d580ef1
21 changed files with 69 additions and 118 deletions
|
@ -1,6 +0,0 @@
|
|||
[position-sticky-top.html]
|
||||
[after reaching the sticking point the sticky box should be offset]
|
||||
expected: FAIL
|
||||
|
||||
[the sticky box should not be pushed outside its containing block]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue