aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flow/root.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout_2020/flow/root.rs')
-rw-r--r--components/layout_2020/flow/root.rs12
1 files changed, 1 insertions, 11 deletions
diff --git a/components/layout_2020/flow/root.rs b/components/layout_2020/flow/root.rs
index b1a43ae28be..994ce29bb16 100644
--- a/components/layout_2020/flow/root.rs
+++ b/components/layout_2020/flow/root.rs
@@ -22,17 +22,7 @@ use style::properties::ComputedValues;
use style::values::computed::{Length, LengthOrAuto};
use style_traits::CSSPixel;
-// FIXME
-// impl crate::dom::Document {
-// pub(crate) fn layout(
-// &self,
-// viewport: crate::geom::Size<crate::geom::CssPx>,
-// ) -> Vec<Fragment> {
-// BoxTreeRoot::construct(self).layout(viewport)
-// }
-// }
-
-struct BoxTreeRoot(BlockFormattingContext);
+pub struct BoxTreeRoot(BlockFormattingContext);
impl BoxTreeRoot {
pub fn construct<'dom>(