mirror of
https://github.com/servo/servo.git
synced 2025-08-18 11:55:39 +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
|
@ -1,11 +1,11 @@
|
|||
[stretch-block-size-001.html]
|
||||
[[data-expected-height\] 8]
|
||||
[[data-expected-height\] 14]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 31]
|
||||
[[data-expected-height\] 37]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 45]
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
[stretch-inline-size-001.html]
|
||||
[[data-expected-width\] 8]
|
||||
[[data-expected-width\] 14]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 31]
|
||||
[[data-expected-width\] 37]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 45]
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
[stretch-max-block-size-001.html]
|
||||
[[data-expected-height\] 8]
|
||||
[[data-expected-height\] 14]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\]:not([skip-second-pass\]) 31]
|
||||
[[data-expected-height\] 23]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\]:not([skip-second-pass\]) 37]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\]:not([skip-second-pass\]) 45]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 23]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
[stretch-max-inline-size-001.html]
|
||||
[[data-expected-width\] 8]
|
||||
[[data-expected-width\] 14]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\]:not([skip-second-pass\]) 31]
|
||||
[[data-expected-width\] 23]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\]:not([skip-second-pass\]) 37]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\]:not([skip-second-pass\]) 45]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 23]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
[stretch-min-block-size-001.html]
|
||||
[[data-expected-height\] 8]
|
||||
[[data-expected-height\] 14]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 31]
|
||||
[[data-expected-height\] 37]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 45]
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
[stretch-min-inline-size-001.html]
|
||||
[[data-expected-width\] 8]
|
||||
[[data-expected-width\] 14]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 31]
|
||||
[[data-expected-width\] 37]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 45]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue