mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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:
parent
f26d17096d
commit
e563927718
20 changed files with 592 additions and 558 deletions
|
@ -18,7 +18,6 @@ mod flexbox;
|
|||
pub mod flow;
|
||||
mod formatting_contexts;
|
||||
mod fragment_tree;
|
||||
mod fragments;
|
||||
pub mod geom;
|
||||
#[macro_use]
|
||||
pub mod layout_debug;
|
||||
|
@ -30,7 +29,8 @@ mod sizing;
|
|||
mod style_ext;
|
||||
pub mod traversal;
|
||||
|
||||
pub use flow::{BoxTree, FragmentTree};
|
||||
pub use flow::BoxTree;
|
||||
pub use fragment_tree::FragmentTree;
|
||||
|
||||
use crate::geom::flow_relative::Vec2;
|
||||
use style::properties::ComputedValues;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue