mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Support justify-self on absolutely positioned elements (#34235)
* Support justify-self on absolutely positioned elements Signed-off-by: L Ashwin B <lashwinib@gmail.com> * updating test expectations Signed-off-by: L Ashwin B <lashwinib@gmail.com> --------- Signed-off-by: L Ashwin B <lashwinib@gmail.com>
This commit is contained in:
parent
114cf9a1cc
commit
91f96cc9dd
2 changed files with 1 additions and 37 deletions
|
@ -492,7 +492,7 @@ impl HoistedAbsolutelyPositionedBox {
|
|||
end: box_offset.inline_end,
|
||||
};
|
||||
let inline_alignment = match inline_box_offsets.either_specified() {
|
||||
true => AlignFlags::START | AlignFlags::SAFE,
|
||||
true => style.clone_justify_self().0 .0,
|
||||
false => shared_fragment.resolved_alignment.inline,
|
||||
};
|
||||
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
[safe-justify-self-htb.html]
|
||||
[.item 7]
|
||||
expected: FAIL
|
||||
|
||||
[.item 8]
|
||||
expected: FAIL
|
||||
|
||||
[.item 9]
|
||||
expected: FAIL
|
||||
|
||||
[.item 10]
|
||||
expected: FAIL
|
||||
|
||||
[.item 11]
|
||||
expected: FAIL
|
||||
|
||||
[.item 12]
|
||||
expected: FAIL
|
||||
|
||||
[.item 19]
|
||||
expected: FAIL
|
||||
|
||||
[.item 20]
|
||||
expected: FAIL
|
||||
|
||||
[.item 21]
|
||||
expected: FAIL
|
||||
|
||||
[.item 22]
|
||||
expected: FAIL
|
||||
|
||||
[.item 23]
|
||||
expected: FAIL
|
||||
|
||||
[.item 24]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue