mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Change predefined type of flex-basis / make gecko glue auto-generate
Gecko doesn't support content value in flex-basis yet.
This commit is contained in:
parent
9e6fce4d36
commit
aa5477bd34
3 changed files with 26 additions and 11 deletions
|
@ -195,13 +195,16 @@ ${helpers.predefined_type("flex-shrink", "Number",
|
|||
}
|
||||
</%helpers:longhand>
|
||||
|
||||
// FIXME: Gecko doesn't support content value yet.
|
||||
// FIXME: This property should be animatable.
|
||||
${helpers.predefined_type("flex-basis",
|
||||
"LengthOrPercentageOrAuto" if product == "gecko" else
|
||||
"LengthOrPercentageOrAutoOrContent",
|
||||
"computed::LengthOrPercentageOrAuto::Auto" if product == "gecko" else
|
||||
"computed::LengthOrPercentageOrAutoOrContent::Auto",
|
||||
spec="https://drafts.csswg.org/css-flexbox/#flex-basis-property",
|
||||
extra_prefixes="webkit",
|
||||
animatable=False)}
|
||||
animatable=True if product == "gecko" else False)}
|
||||
|
||||
% for (size, logical) in ALL_SIZES:
|
||||
<%
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue