aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flexbox/layout.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-06-01 15:18:36 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-06-04 18:12:11 +0200
commite563927718cc0df65e0ad4eab7d59203ede79b1a (patch)
tree7f8817f6d171021068cc8b9c85d641f36c809df1 /components/layout_2020/flexbox/layout.rs
parentf26d17096d86a2119f879d4ff60c288051a97510 (diff)
downloadservo-e563927718cc0df65e0ad4eab7d59203ede79b1a.tar.gz
servo-e563927718cc0df65e0ad4eab7d59203ede79b1a.zip
Layout 2020: Move all Fragment code to the `fragment_tree` directory
This is a simple code organization change with no behavior change with the idea of making Layout 2020 easier to understand by new folks to the project. The idea is that we will have a cleaner separation between the different parts of layout ie one directory for the fragment tree and one (currently multiple) directory for the box tree.
Diffstat (limited to 'components/layout_2020/flexbox/layout.rs')
-rw-r--r--components/layout_2020/flexbox/layout.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_2020/flexbox/layout.rs b/components/layout_2020/flexbox/layout.rs
index 4a15af23005..e4e59379d1e 100644
--- a/components/layout_2020/flexbox/layout.rs
+++ b/components/layout_2020/flexbox/layout.rs
@@ -8,7 +8,7 @@ use super::geom::{
use super::{FlexContainer, FlexLevelBox};
use crate::context::LayoutContext;
use crate::formatting_contexts::{IndependentFormattingContext, IndependentLayout};
-use crate::fragments::{BoxFragment, CollapsedBlockMargins, Fragment};
+use crate::fragment_tree::{BoxFragment, CollapsedBlockMargins, Fragment};
use crate::geom::flow_relative::{Rect, Sides, Vec2};
use crate::geom::LengthOrAuto;
use crate::positioned::{AbsolutelyPositionedBox, PositioningContext};