Add layout debugger support to layout_2020

This commit is contained in:
Fernando Jiménez Moreno 2020-02-11 18:50:54 +01:00
parent 9c3feb746b
commit 5cbe05366b
8 changed files with 186 additions and 13 deletions

View file

@ -30,6 +30,7 @@ use style_traits::CSSPixel;
pub struct BoxTreeRoot(BlockFormattingContext);
#[derive(Serialize)]
pub struct FragmentTreeRoot {
/// The children of the root of the fragment tree.
children: Vec<Fragment>,