aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-01-16 17:46:27 +0100
committerMartin Robinson <mrobinson@igalia.com>2023-01-26 08:59:21 +0100
commit423cc34cb00c698313c67a0edcbc6721ecf04f4f (patch)
tree46f5231f40db8052fc2979ab72594f1e44501136 /components/layout/flow.rs
parent4f355f5877878bb2f4aed2b471e82722cd43f8e1 (diff)
downloadservo-423cc34cb00c698313c67a0edcbc6721ecf04f4f.tar.gz
servo-423cc34cb00c698313c67a0edcbc6721ecf04f4f.zip
Bump euclid to 0.22
- Also updates raqote to latest with an upgrade of font-kit to 0.11 applied on as a patch - Update lyon_geom to the latest version Major change: - All matrices are now stored in row major order. This means that parameters to rotation functions no longer should be negated. - `post_...()` functions are now named `then()`. `pre_transform()` is removed, so `then()` is used and the order of operations changed.
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r--components/layout/flow.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs
index 074f0ad273a..01aa77043f1 100644
--- a/components/layout/flow.rs
+++ b/components/layout/flow.rs
@@ -355,10 +355,10 @@ pub trait Flow: HasBaseFlow + fmt::Debug + Sync + Send + 'static {
.to_untyped();
let transformed_overflow = Overflow {
paint: f32_rect_to_au_rect(
- transform_2d.transform_rect(&au_rect_to_f32_rect(overflow.paint)),
+ transform_2d.outer_transformed_rect(&au_rect_to_f32_rect(overflow.paint)),
),
scroll: f32_rect_to_au_rect(
- transform_2d.transform_rect(&au_rect_to_f32_rect(overflow.scroll)),
+ transform_2d.outer_transformed_rect(&au_rect_to_f32_rect(overflow.scroll)),
),
};