mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Bump euclid to 0.14.
This commit is contained in:
parent
5dce166266
commit
8617320500
88 changed files with 349 additions and 381 deletions
|
@ -1967,7 +1967,7 @@ impl Flow for BlockFlow {
|
|||
// flow w.r.t. the containing block.
|
||||
self.base
|
||||
.late_absolute_position_info
|
||||
.stacking_relative_position_of_absolute_containing_block + position_start
|
||||
.stacking_relative_position_of_absolute_containing_block + position_start.to_vector()
|
||||
};
|
||||
|
||||
if !self.base.writing_mode.is_vertical() {
|
||||
|
@ -2002,7 +2002,7 @@ impl Flow for BlockFlow {
|
|||
.stacking_relative_position_of_absolute_containing_block =
|
||||
self.base.stacking_relative_position +
|
||||
(border_box_origin + relative_offset).to_physical(self.base.writing_mode,
|
||||
container_size)
|
||||
container_size).to_vector()
|
||||
}
|
||||
|
||||
// Compute absolute position info for children.
|
||||
|
@ -2021,7 +2021,7 @@ impl Flow for BlockFlow {
|
|||
// `transform` set.) In this case, absolutely-positioned children will not be
|
||||
// positioned relative to us but will instead be positioned relative to our
|
||||
// containing block.
|
||||
position - self.base.stacking_relative_position
|
||||
position - self.base.stacking_relative_position.to_vector()
|
||||
}
|
||||
} else {
|
||||
self.base
|
||||
|
@ -2171,7 +2171,7 @@ impl Flow for BlockFlow {
|
|||
.early_absolute_position_info
|
||||
.relative_containing_block_mode,
|
||||
CoordinateSystem::Own)
|
||||
.translate(stacking_context_position));
|
||||
.translate(&stacking_context_position.to_vector()));
|
||||
}
|
||||
|
||||
fn mutate_fragments(&mut self, mutator: &mut FnMut(&mut Fragment)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue