mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Reorder some stuff in gecko.mako.rs
This commit is contained in:
parent
f3fe99bcb2
commit
f097dfad59
1 changed files with 6 additions and 6 deletions
|
@ -1447,18 +1447,19 @@ impl Clone for ${style_struct.gecko_struct_name} {
|
||||||
|
|
||||||
# Types used with predefined_type()-defined properties that we can auto-generate.
|
# Types used with predefined_type()-defined properties that we can auto-generate.
|
||||||
predefined_types = {
|
predefined_types = {
|
||||||
|
"Color": impl_color,
|
||||||
|
"GreaterThanOrEqualToOneNumber": impl_simple,
|
||||||
|
"Integer": impl_simple,
|
||||||
"length::LengthOrAuto": impl_style_coord,
|
"length::LengthOrAuto": impl_style_coord,
|
||||||
"length::LengthOrNormal": impl_style_coord,
|
"length::LengthOrNormal": impl_style_coord,
|
||||||
"length::NonNegativeLengthOrAuto": impl_style_coord,
|
"length::NonNegativeLengthOrAuto": impl_style_coord,
|
||||||
"length::NonNegativeLengthOrNormal": impl_style_coord,
|
"length::NonNegativeLengthOrNormal": impl_style_coord,
|
||||||
"GreaterThanOrEqualToOneNumber": impl_simple,
|
|
||||||
"Length": impl_absolute_length,
|
"Length": impl_absolute_length,
|
||||||
"Position": impl_position,
|
"LengthOrNone": impl_style_coord,
|
||||||
|
"LengthOrNormal": impl_style_coord,
|
||||||
"LengthOrPercentage": impl_style_coord,
|
"LengthOrPercentage": impl_style_coord,
|
||||||
"LengthOrPercentageOrAuto": impl_style_coord,
|
"LengthOrPercentageOrAuto": impl_style_coord,
|
||||||
"LengthOrPercentageOrNone": impl_style_coord,
|
"LengthOrPercentageOrNone": impl_style_coord,
|
||||||
"LengthOrNone": impl_style_coord,
|
|
||||||
"LengthOrNormal": impl_style_coord,
|
|
||||||
"MaxLength": impl_style_coord,
|
"MaxLength": impl_style_coord,
|
||||||
"MozLength": impl_style_coord,
|
"MozLength": impl_style_coord,
|
||||||
"MozScriptMinSize": impl_absolute_length,
|
"MozScriptMinSize": impl_absolute_length,
|
||||||
|
@ -1466,9 +1467,8 @@ impl Clone for ${style_struct.gecko_struct_name} {
|
||||||
"NonNegativeLengthOrPercentage": impl_style_coord,
|
"NonNegativeLengthOrPercentage": impl_style_coord,
|
||||||
"NonNegativeNumber": impl_simple,
|
"NonNegativeNumber": impl_simple,
|
||||||
"Number": impl_simple,
|
"Number": impl_simple,
|
||||||
"Integer": impl_simple,
|
|
||||||
"Opacity": impl_simple,
|
"Opacity": impl_simple,
|
||||||
"Color": impl_color,
|
"Position": impl_position,
|
||||||
"RGBAColor": impl_rgba_color,
|
"RGBAColor": impl_rgba_color,
|
||||||
"SVGLength": impl_svg_length,
|
"SVGLength": impl_svg_length,
|
||||||
"SVGOpacity": impl_svg_opacity,
|
"SVGOpacity": impl_svg_opacity,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue