aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/display_list/background.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/display_list/background.rs')
-rw-r--r--components/layout/display_list/background.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/layout/display_list/background.rs b/components/layout/display_list/background.rs
index 4f37dcf25c3..4c56deabede 100644
--- a/components/layout/display_list/background.rs
+++ b/components/layout/display_list/background.rs
@@ -2,7 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
-use crate::display_list::border;
use app_units::Au;
use euclid::default::{Point2D, Rect, SideOffsets2D, Size2D};
use style::computed_values::background_attachment::single_value::T as BackgroundAttachment;
@@ -13,6 +12,8 @@ use style::values::computed::{BackgroundSize, NonNegativeLengthPercentageOrAuto}
use style::values::specified::background::BackgroundRepeatKeyword;
use webrender_api::BorderRadius;
+use crate::display_list::border;
+
/// Placment information for both image and gradient backgrounds.
#[derive(Clone, Copy, Debug)]
pub struct BackgroundPlacement {