diff options
Diffstat (limited to 'components/layout/display_list/builder.rs')
-rw-r--r-- | components/layout/display_list/builder.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/components/layout/display_list/builder.rs b/components/layout/display_list/builder.rs index e6a58d76272..2d99900eac2 100644 --- a/components/layout/display_list/builder.rs +++ b/components/layout/display_list/builder.rs @@ -9,8 +9,8 @@ //! paint. use app_units::{Au, AU_PER_PX}; -use crate::block::BlockFlow; use canvas_traits::canvas::{CanvasMsg, FromLayoutMsg}; +use crate::block::BlockFlow; use crate::context::LayoutContext; use crate::display_list::ToLayout; use crate::display_list::background::{self, get_cyclic}; @@ -24,20 +24,21 @@ use crate::display_list::items::{IframeDisplayItem, OpaqueNode}; use crate::display_list::items::{PopAllTextShadowsDisplayItem, PushTextShadowDisplayItem}; use crate::display_list::items::{StackingContext, StackingContextType, StickyFrameData}; use crate::display_list::items::{TextOrientation, WebRenderImageInfo}; -use euclid::{rect, Point2D, Rect, SideOffsets2D, Size2D, TypedSize2D, Vector2D}; use crate::flex::FlexFlow; use crate::flow::{BaseFlow, Flow, FlowFlags}; use crate::flow_ref::FlowRef; -use fnv::FnvHashMap; use crate::fragment::{CanvasFragmentSource, CoordinateSystem, Fragment, ScannedTextFragmentInfo}; use crate::fragment::SpecificFragmentInfo; +use crate::inline::{InlineFlow, InlineFragmentNodeFlags}; +use crate::list_item::ListItemFlow; +use crate::model::MaybeAuto; +use crate::table_cell::CollapsedBordersForCell; +use euclid::{rect, Point2D, Rect, SideOffsets2D, Size2D, TypedSize2D, Vector2D}; +use fnv::FnvHashMap; use gfx::text::TextRun; use gfx::text::glyph::ByteIndex; use gfx_traits::{combine_id_with_fragment_type, FragmentType, StackingContextId}; -use crate::inline::{InlineFlow, InlineFragmentNodeFlags}; use ipc_channel::ipc; -use crate::list_item::ListItemFlow; -use crate::model::MaybeAuto; use msg::constellation_msg::{BrowsingContextId, PipelineId}; use net_traits::image_cache::UsePlaceholder; use range::Range; @@ -65,7 +66,6 @@ use style::values::generics::ui::Cursor; use style_traits::CSSPixel; use style_traits::ToCss; use style_traits::cursor::CursorKind; -use crate::table_cell::CollapsedBordersForCell; use webrender_api::{self, BorderDetails, BorderRadius, BorderSide, BoxShadowClipMode, ColorF}; use webrender_api::{ExternalScrollId, FilterOp, GlyphInstance, ImageRendering, LayoutRect}; use webrender_api::{LayoutSize, LayoutTransform, LayoutVector2D, LineStyle, NinePatchBorder}; |