mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Call BoxTreeRoot::construct from layout_thread_2020
This commit is contained in:
parent
9706cd497d
commit
ec74204fa0
12 changed files with 51 additions and 42 deletions
|
@ -22,17 +22,8 @@ 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);
|
||||
#[derive(Debug)]
|
||||
pub struct BoxTreeRoot(BlockFormattingContext);
|
||||
|
||||
impl BoxTreeRoot {
|
||||
pub fn construct<'dom>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue