aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/fragment_tree/mod.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/mod.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/mod.rs')
-rw-r--r--components/layout_2020/fragment_tree/mod.rs12
1 files changed, 10 insertions, 2 deletions
diff --git a/components/layout_2020/fragment_tree/mod.rs b/components/layout_2020/fragment_tree/mod.rs
index 96f07217ac4..03e112d7adf 100644
--- a/components/layout_2020/fragment_tree/mod.rs
+++ b/components/layout_2020/fragment_tree/mod.rs
@@ -2,8 +2,16 @@
* 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/. */
-mod base;
+mod base_fragment;
+mod box_fragment;
mod containing_block;
+mod fragment;
+mod fragment_tree;
+mod hoisted_shared_fragment;
-pub(crate) use base::*;
+pub(crate) use base_fragment::*;
+pub(crate) use box_fragment::*;
pub(crate) use containing_block::*;
+pub(crate) use fragment::*;
+pub use fragment_tree::*;
+pub(crate) use hoisted_shared_fragment::*;