aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flex.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/flex.rs')
-rw-r--r--components/layout/flex.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/components/layout/flex.rs b/components/layout/flex.rs
index 7e422078967..9c7601ee789 100644
--- a/components/layout/flex.rs
+++ b/components/layout/flex.rs
@@ -847,14 +847,7 @@ impl FlexFlow {
}
let self_align = {
- let self_align = block
- .fragment
- .style()
- .get_position()
- .align_self
- .0
- .0
- .value();
+ let self_align = block.fragment.style().get_position().align_self.0.0.value();
match self_align {
AlignFlags::AUTO | AlignFlags::NORMAL => align_items,