aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/table_cell.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/table_cell.rs')
-rw-r--r--components/layout/table_cell.rs24
1 files changed, 12 insertions, 12 deletions
diff --git a/components/layout/table_cell.rs b/components/layout/table_cell.rs
index 5ce5cf7a3f9..be45f638228 100644
--- a/components/layout/table_cell.rs
+++ b/components/layout/table_cell.rs
@@ -5,16 +5,16 @@
//! CSS table formatting contexts.
use app_units::Au;
-use block::{BlockFlow, ISizeAndMarginsComputer, MarginsMayCollapseFlag};
-use context::LayoutContext;
-use display_list::{BlockFlowDisplayListBuilding, DisplayListBuildState};
-use display_list::{StackingContextCollectionFlags, StackingContextCollectionState};
+use crate::block::{BlockFlow, ISizeAndMarginsComputer, MarginsMayCollapseFlag};
+use crate::context::LayoutContext;
+use crate::display_list::{BlockFlowDisplayListBuilding, DisplayListBuildState};
+use crate::display_list::{StackingContextCollectionFlags, StackingContextCollectionState};
use euclid::{Point2D, Rect, SideOffsets2D, Size2D};
-use flow::{Flow, FlowClass, FlowFlags, GetBaseFlow, OpaqueFlow};
-use fragment::{Fragment, FragmentBorderBoxIterator, Overflow};
+use crate::flow::{Flow, FlowClass, FlowFlags, GetBaseFlow, OpaqueFlow};
+use crate::fragment::{Fragment, FragmentBorderBoxIterator, Overflow};
use gfx_traits::print_tree::PrintTree;
-use layout_debug;
-use model::MaybeAuto;
+use crate::layout_debug;
+use crate::model::MaybeAuto;
use script_layout_interface::wrapper_traits::ThreadSafeLayoutNode;
use std::fmt;
use style::logical_geometry::{LogicalMargin, LogicalRect, LogicalSize, WritingMode};
@@ -22,11 +22,11 @@ use style::properties::ComputedValues;
use style::values::computed::Color;
use style::values::generics::box_::VerticalAlign;
use style::values::specified::BorderStyle;
-use table::InternalTable;
-use table_row::{CollapsedBorder, CollapsedBorderProvenance};
+use crate::table::InternalTable;
+use crate::table_row::{CollapsedBorder, CollapsedBorderProvenance};
#[allow(unsafe_code)]
-unsafe impl ::flow::HasBaseFlow for TableCellFlow {}
+unsafe impl crate::flow::HasBaseFlow for TableCellFlow {}
/// A table formatting context.
#[derive(Serialize)]
@@ -311,7 +311,7 @@ impl Flow for TableCellFlow {
.collect_stacking_contexts_for_block(state, StackingContextCollectionFlags::empty());
}
- 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)
}