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.
This commit is contained in:
Martin Robinson 2023-06-01 15:18:36 +02:00
parent f26d17096d
commit e563927718
20 changed files with 592 additions and 558 deletions

View file

@ -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::*;