diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-05-08 11:46:17 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-05-13 11:52:59 +0200 |
commit | 72b5fcd0b69201bd5cda125821dd90555490b45d (patch) | |
tree | 0adae6d50cdbb3f7bb7a4d2780267525fc42e2ff /components/layout_2020/flow/construct.rs | |
parent | ab4bd2a13347819210728e48cefb1e8c194d9138 (diff) | |
download | servo-72b5fcd0b69201bd5cda125821dd90555490b45d.tar.gz servo-72b5fcd0b69201bd5cda125821dd90555490b45d.zip |
Combine DOM-related concepts in Layout 2020 into dom.rs
Diffstat (limited to 'components/layout_2020/flow/construct.rs')
-rw-r--r-- | components/layout_2020/flow/construct.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/components/layout_2020/flow/construct.rs b/components/layout_2020/flow/construct.rs index 14b92cafa67..c45965df6e6 100644 --- a/components/layout_2020/flow/construct.rs +++ b/components/layout_2020/flow/construct.rs @@ -4,10 +4,8 @@ use crate::cell::ArcRefCell; use crate::context::LayoutContext; -use crate::dom_traversal::{ - BoxSlot, Contents, NodeAndStyleInfo, NodeExt, NonReplacedContents, TraversalHandler, -}; -use crate::element_data::LayoutBox; +use crate::dom::{BoxSlot, LayoutBox, NodeExt}; +use crate::dom_traversal::{Contents, NodeAndStyleInfo, NonReplacedContents, TraversalHandler}; use crate::flow::float::FloatBox; use crate::flow::inline::{InlineBox, InlineFormattingContext, InlineLevelBox, TextRun}; use crate::flow::{BlockContainer, BlockFormattingContext, BlockLevelBox}; |