Activate flexbox layout tracing

This commit is contained in:
Shing Lyu 2016-10-20 15:20:06 +08:00
parent 92d380c399
commit 4b2d80afcf
4 changed files with 15 additions and 13 deletions

View file

@ -523,7 +523,7 @@ impl ToGfxMatrix for ComputedMatrix {
/// parameter, and when it is present the constraint will be subtracted. This is
/// used to adjust the constraint for `box-sizing: border-box`, and when you do so
/// make sure the size you want to clamp is intended to be used for content box.
#[derive(Clone, Copy, Debug)]
#[derive(Clone, Copy, Debug, Serialize)]
pub struct SizeConstraint {
min_size: Au,
max_size: Option<Au>,