Commit 8df582e
committed
test(margin): fix top expectation in margin_not_collapse_if_padding_exists_2
The outer wrapper has border:1px, so the child layout top = parent border (1) + margin-top (20) = 21, not 20. Corrected data-expect-top 20->21 and removed the temporary data-ignore. Other assertions (n3/n4 top via padding/margin, n2 height 90) were already correct.1 parent 96f6918 commit 8df582e
1 file changed
Lines changed: 2 additions & 4 deletions
File tree
- float-pigment-forest/tests/cases/custom_css_margin
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 2 | + | |
| 3 | + | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
0 commit comments