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`.
This commit is contained in:
Daniel Robertson 2016-04-17 22:07:36 -04:00
parent 1946c71a96
commit 2d9d31ee04
No known key found for this signature in database
GPG key ID: 9977F4E5FC7AAE3B
8 changed files with 117 additions and 18 deletions

View file

@ -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,