diff options
author | Daniel Robertson <dan.robertson@anidata.org> | 2016-04-17 22:07:36 -0400 |
---|---|---|
committer | Daniel Robertson <dan.robertson@anidata.org> | 2016-04-24 14:04:40 -0400 |
commit | 2d9d31ee04553446546763e88ff8fedd01aba63e (patch) | |
tree | bcd27f402de003e0c11970b0a3d0c64687e7aae3 /components/layout/incremental.rs | |
parent | 1946c71a9612260fefda89c528e41a1b259365c5 (diff) | |
download | servo-2d9d31ee04553446546763e88ff8fedd01aba63e.tar.gz servo-2d9d31ee04553446546763e88ff8fedd01aba63e.zip |
Add style property for flex-basis
Add the style property for flex-basis. The property should allow all
values acceptable for `width`|`height` with the addition of `content`.
Diffstat (limited to 'components/layout/incremental.rs')
-rw-r--r-- | components/layout/incremental.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/layout/incremental.rs b/components/layout/incremental.rs index affb4f42c70..fb73e8b6d87 100644 --- a/components/layout/incremental.rs +++ b/components/layout/incremental.rs @@ -218,7 +218,9 @@ pub fn compute_damage(old: Option<&Arc<ServoComputedValues>>, new: &ServoCompute get_inheritedtable.border_collapse, get_inheritedtable.border_spacing, get_column.column_gap, - get_position.flex_direction + get_position.flex_direction, + get_position.flex_basis, + get_position.order ]) || add_if_not_equal!(old, new, damage, [ REPAINT, STORE_OVERFLOW, REFLOW_OUT_OF_FLOW ], [ get_position.top, get_position.left, |