mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue