diff options
author | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2020-02-17 15:30:32 +0100 |
---|---|---|
committer | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2020-02-21 11:11:00 +0100 |
commit | a042f850830e20195866f435ed4beb1df6f3c90e (patch) | |
tree | 0f825d1d6b39ffe4aefd852dbd46970bba7706f7 /components/layout_2020/flow/float.rs | |
parent | aaa3cd9a593ec1ea9a6973171d095b4884738f60 (diff) | |
download | servo-a042f850830e20195866f435ed4beb1df6f3c90e.tar.gz servo-a042f850830e20195866f435ed4beb1df6f3c90e.zip |
Dump box tree state into json files and display it on layout 2020 viewer
Diffstat (limited to 'components/layout_2020/flow/float.rs')
-rw-r--r-- | components/layout_2020/flow/float.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_2020/flow/float.rs b/components/layout_2020/flow/float.rs index 7c7a2ab5a31..5b34392ac8c 100644 --- a/components/layout_2020/flow/float.rs +++ b/components/layout_2020/flow/float.rs @@ -10,7 +10,7 @@ use crate::style_ext::{ComputedValuesExt, DisplayInside}; use servo_arc::Arc; use style::properties::ComputedValues; -#[derive(Debug)] +#[derive(Debug, Serialize)] pub(crate) struct FloatBox { pub contents: IndependentFormattingContext, } |