diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-11-01 23:45:06 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-11-06 15:26:02 +0100 |
commit | 45f7199eee82c66637ec68287eafa40a651001c4 (patch) | |
tree | 8c0802f4ac7b89c2ce4d73063c8f65b9ee5face9 /components/layout/table.rs | |
parent | 86f148fb97601413c0d983f21b760d973ade7a75 (diff) | |
download | servo-45f7199eee82c66637ec68287eafa40a651001c4.tar.gz servo-45f7199eee82c66637ec68287eafa40a651001c4.zip |
`cargo fix --edition`
Diffstat (limited to 'components/layout/table.rs')
-rw-r--r-- | components/layout/table.rs | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/components/layout/table.rs b/components/layout/table.rs index b6cf3981cd6..4551b85b110 100644 --- a/components/layout/table.rs +++ b/components/layout/table.rs @@ -5,18 +5,18 @@ //! CSS table formatting contexts. use app_units::Au; -use block::{BlockFlow, CandidateBSizeIterator, ISizeAndMarginsComputer}; -use block::{ISizeConstraintInput, ISizeConstraintSolution}; -use context::LayoutContext; -use display_list::{BlockFlowDisplayListBuilding, BorderPaintingMode}; -use display_list::{DisplayListBuildState, StackingContextCollectionFlags, StackingContextCollectionState}; +use crate::block::{BlockFlow, CandidateBSizeIterator, ISizeAndMarginsComputer}; +use crate::block::{ISizeConstraintInput, ISizeConstraintSolution}; +use crate::context::LayoutContext; +use crate::display_list::{BlockFlowDisplayListBuilding, BorderPaintingMode}; +use crate::display_list::{DisplayListBuildState, StackingContextCollectionFlags, StackingContextCollectionState}; use euclid::Point2D; -use flow::{BaseFlow, EarlyAbsolutePositionInfo, Flow, FlowClass, ImmutableFlowUtils, GetBaseFlow, OpaqueFlow}; -use flow_list::{FlowListIterator, MutFlowListIterator}; -use fragment::{Fragment, FragmentBorderBoxIterator, Overflow}; +use crate::flow::{BaseFlow, EarlyAbsolutePositionInfo, Flow, FlowClass, ImmutableFlowUtils, GetBaseFlow, OpaqueFlow}; +use crate::flow_list::{FlowListIterator, MutFlowListIterator}; +use crate::fragment::{Fragment, FragmentBorderBoxIterator, Overflow}; use gfx_traits::print_tree::PrintTree; -use layout_debug; -use model::{IntrinsicISizes, IntrinsicISizesContribution, MaybeAuto}; +use crate::layout_debug; +use crate::model::{IntrinsicISizes, IntrinsicISizesContribution, MaybeAuto}; use std::{cmp, fmt}; use style::computed_values::{border_collapse, border_spacing, table_layout}; use style::context::SharedStyleContext; @@ -26,13 +26,13 @@ use style::properties::style_structs::Background; use style::servo::restyle_damage::ServoRestyleDamage; use style::values::CSSFloat; use style::values::computed::LengthOrPercentageOrAuto; -use table_cell::TableCellFlow; -use table_row::{self, CellIntrinsicInlineSize, CollapsedBorder, CollapsedBorderProvenance}; -use table_row::{TableRowFlow, TableRowSizeData}; -use table_wrapper::TableLayout; +use crate::table_cell::TableCellFlow; +use crate::table_row::{self, CellIntrinsicInlineSize, CollapsedBorder, CollapsedBorderProvenance}; +use crate::table_row::{TableRowFlow, TableRowSizeData}; +use crate::table_wrapper::TableLayout; #[allow(unsafe_code)] -unsafe impl ::flow::HasBaseFlow for TableFlow {} +unsafe impl crate::flow::HasBaseFlow for TableFlow {} /// A table flow corresponded to the table's internal table fragment under a table wrapper flow. /// The properties `position`, `float`, and `margin-*` are used on the table wrapper fragment, @@ -596,7 +596,7 @@ impl Flow for TableFlow { ); } - fn repair_style(&mut self, new_style: &::ServoArc<ComputedValues>) { + fn repair_style(&mut self, new_style: &crate::ServoArc<ComputedValues>) { self.block_flow.repair_style(new_style) } |