diff options
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r-- | components/layout/layout_task.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index 010bbdd578f..6da26ab59a9 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -29,17 +29,17 @@ use azure::azure::AzColor; use canvas_traits::CanvasMsg; use encoding::EncodingRef; use encoding::all::UTF_8; -use fnv::FnvHasher; use euclid::Matrix4; use euclid::point::Point2D; use euclid::rect::Rect; use euclid::scale_factor::ScaleFactor; use euclid::size::Size2D; -use gfx_traits::color; -use gfx::display_list::{ClippingRegion, DisplayList, OpaqueNode}; +use fnv::FnvHasher; use gfx::display_list::StackingContext; +use gfx::display_list::{ClippingRegion, DisplayList, OpaqueNode}; use gfx::font_cache_task::FontCacheTask; use gfx::paint_task::{LayoutToPaintMsg, PaintLayer}; +use gfx_traits::color; use ipc_channel::ipc::{self, IpcReceiver, IpcSender}; use ipc_channel::router::ROUTER; use layout_traits::LayoutTaskFactory; @@ -47,19 +47,19 @@ use log; use msg::compositor_msg::{Epoch, ScrollPolicy, LayerId}; use msg::constellation_msg::Msg as ConstellationMsg; use msg::constellation_msg::{ConstellationChan, Failure, PipelineExitType, PipelineId}; +use net_traits::image_cache_task::{ImageCacheTask, ImageCacheResult, ImageCacheChan}; +use net_traits::{load_bytes_iter, PendingAsyncLoad}; use profile_traits::mem::{self, Report, ReportKind, ReportsChan}; -use profile_traits::time::{self, ProfilerMetadata, profile}; use profile_traits::time::{TimerMetadataFrameType, TimerMetadataReflowType}; -use net_traits::{load_bytes_iter, PendingAsyncLoad}; -use net_traits::image_cache_task::{ImageCacheTask, ImageCacheResult, ImageCacheChan}; +use profile_traits::time::{self, ProfilerMetadata, profile}; use script::dom::bindings::js::LayoutJS; use script::dom::node::{LayoutData, Node}; use script::layout_interface::Animation; use script::layout_interface::{LayoutChan, LayoutRPC, OffsetParentResponse}; use script::layout_interface::{NewLayoutTaskInfo, Msg, Reflow, ReflowGoal, ReflowQueryType}; use script::layout_interface::{ScriptLayoutChan, ScriptReflow, TrustedNodeAddress}; -use script_traits::{ConstellationControlMsg, LayoutControlMsg, OpaqueScriptLayoutChannel}; use script_traits::StylesheetLoadResponder; +use script_traits::{ConstellationControlMsg, LayoutControlMsg, OpaqueScriptLayoutChannel}; use selectors::parser::PseudoElement; use serde_json; use std::borrow::ToOwned; @@ -73,8 +73,8 @@ use std::sync::{Arc, Mutex, MutexGuard}; use string_cache::Atom; use style::computed_values::{self, filter, mix_blend_mode}; use style::media_queries::{MediaType, MediaQueryList, Device}; -use style::properties::style_structs; use style::properties::longhands::{display, position}; +use style::properties::style_structs; use style::selector_matching::Stylist; use style::stylesheets::{Origin, Stylesheet, CSSRuleIteratorExt}; use url::Url; |