aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/fragment_tree/containing_block.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/fragment_tree/containing_block.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/fragment_tree/containing_block.rs')
-rw-r--r--components/layout_2020/fragment_tree/containing_block.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_2020/fragment_tree/containing_block.rs b/components/layout_2020/fragment_tree/containing_block.rs
index febe52dfd6d..82a205fd2d5 100644
--- a/components/layout_2020/fragment_tree/containing_block.rs
+++ b/components/layout_2020/fragment_tree/containing_block.rs
@@ -2,7 +2,7 @@
* 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::fragments::Fragment;
+use crate::fragment_tree::Fragment;
use style::computed_values::position::T as ComputedPosition;
/// A data structure used to track the containing block when recursing