mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
layout: Stop ignoring containing block padding for the static position (#36051)
The static position rect is calculated assuming that the containing block would be established by the content box of some ancestor, but the actual containing block is established by the padding box. So we need to add the padding of that ancestor. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
a9afc631ae
commit
86341da885
42 changed files with 49 additions and 1347 deletions
|
@ -50,23 +50,5 @@
|
|||
[.container > div 5]
|
||||
expected: FAIL
|
||||
|
||||
[.container > div 8]
|
||||
expected: FAIL
|
||||
|
||||
[.container > div 10]
|
||||
expected: FAIL
|
||||
|
||||
[.container > div 12]
|
||||
expected: FAIL
|
||||
|
||||
[.container > div 17]
|
||||
expected: FAIL
|
||||
|
||||
[.container > div 20]
|
||||
expected: FAIL
|
||||
|
||||
[.container > div 22]
|
||||
expected: FAIL
|
||||
|
||||
[.container > div 24]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue