diff options
author | UK992 <urbankrajnc92@gmail.com> | 2016-09-08 17:47:32 +0200 |
---|---|---|
committer | UK992 <urbankrajnc92@gmail.com> | 2016-09-09 04:55:19 +0200 |
commit | 93a103ba7306b578841b73a0ecfbccaad8fc78c1 (patch) | |
tree | a8855004b4309212182505b0cf72f116d846c4cb /components/layout/display_list_builder.rs | |
parent | 875981ece592b03bcf06f16b6613ddabfa11133f (diff) | |
download | servo-93a103ba7306b578841b73a0ecfbccaad8fc78c1.tar.gz servo-93a103ba7306b578841b73a0ecfbccaad8fc78c1.zip |
Reorder `use` statements
Diffstat (limited to 'components/layout/display_list_builder.rs')
-rw-r--r-- | components/layout/display_list_builder.rs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/components/layout/display_list_builder.rs b/components/layout/display_list_builder.rs index de342475c7f..5c500b1fd48 100644 --- a/components/layout/display_list_builder.rs +++ b/components/layout/display_list_builder.rs @@ -10,26 +10,26 @@ #![deny(unsafe_code)] -use app_units::{Au, AU_PER_PX}; +use app_units::{AU_PER_PX, Au}; use azure::azure_hl::Color; use block::{BlockFlow, BlockStackingContextType}; -use canvas_traits::{CanvasMsg, CanvasData, FromLayoutMsg}; +use canvas_traits::{CanvasData, CanvasMsg, FromLayoutMsg}; use context::SharedLayoutContext; use euclid::{Matrix4D, Point2D, Point3D, Radians, Rect, SideOffsets2D, Size2D}; use flex::FlexFlow; use flow::{BaseFlow, Flow, IS_ABSOLUTELY_POSITIONED}; use flow_ref; -use fragment::SpecificFragmentInfo; use fragment::{CoordinateSystem, Fragment, HAS_LAYER, ImageFragmentInfo, ScannedTextFragmentInfo}; +use fragment::SpecificFragmentInfo; use gfx::display_list::{BLUR_INFLATION_FACTOR, BaseDisplayItem, BorderDisplayItem}; use gfx::display_list::{BorderRadii, BoxShadowClipMode, BoxShadowDisplayItem, ClippingRegion}; use gfx::display_list::{DisplayItem, DisplayItemMetadata, DisplayListSection, GradientDisplayItem}; use gfx::display_list::{GradientStop, IframeDisplayItem, ImageDisplayItem, WebGLDisplayItem}; -use gfx::display_list::{LayeredItem, LayerInfo, LineDisplayItem, OpaqueNode}; +use gfx::display_list::{LayerInfo, LayeredItem, LineDisplayItem, OpaqueNode}; use gfx::display_list::{SolidColorDisplayItem, StackingContext, StackingContextType}; use gfx::display_list::{TextDisplayItem, TextOrientation, WebRenderImageInfo}; use gfx::paint_thread::THREAD_TINT_COLORS; -use gfx_traits::{color, ScrollPolicy, StackingContextId}; +use gfx_traits::{ScrollPolicy, StackingContextId, color}; use inline::{FIRST_FRAGMENT_OF_ELEMENT, InlineFlow, LAST_FRAGMENT_OF_ELEMENT}; use ipc_channel::ipc; use list_item::ListItemFlow; @@ -38,19 +38,19 @@ use net_traits::image::base::PixelFormat; use net_traits::image_cache_thread::UsePlaceholder; use range::Range; use script_layout_interface::restyle_damage::REPAINT; +use std::{cmp, f32}; use std::default::Default; use std::sync::Arc; -use std::{cmp, f32}; -use style::computed_values::filter::Filter; -use style::computed_values::text_shadow::TextShadow; -use style::computed_values::{_servo_overflow_clip_box as overflow_clip_box}; use style::computed_values::{background_attachment, background_clip, background_origin}; use style::computed_values::{background_repeat, background_size, border_style}; use style::computed_values::{cursor, image_rendering, overflow_x, pointer_events, position}; use style::computed_values::{transform, transform_style, visibility}; +use style::computed_values::_servo_overflow_clip_box as overflow_clip_box; +use style::computed_values::filter::Filter; +use style::computed_values::text_shadow::TextShadow; use style::logical_geometry::{LogicalPoint, LogicalRect, LogicalSize, WritingMode}; -use style::properties::style_structs; use style::properties::{self, ServoComputedValues}; +use style::properties::style_structs; use style::values::RGBA; use style::values::computed; use style::values::computed::{LengthOrNone, LengthOrPercentage, LengthOrPercentageOrAuto, LinearGradient}; |