mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Make the choice of layout runtime setting
Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
f11c6045e3
commit
d31cdb682f
262 changed files with 1740 additions and 3700 deletions
|
@ -290,7 +290,7 @@ impl PositioningContext {
|
|||
match position {
|
||||
Position::Fixed => {}, // fall through
|
||||
Position::Absolute => return nearest.push(box_),
|
||||
Position::Static | Position::Relative => unreachable!(),
|
||||
Position::Static | Position::Relative | Position::Sticky => unreachable!(),
|
||||
}
|
||||
}
|
||||
self.for_nearest_containing_block_for_all_descendants
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue