mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Stylo: replace product={gecko,servo} with engine={gecko,servo-2013,servo-2020}
Renaming the variable helped make sure I looked at every use.
This commit is contained in:
parent
f1300bb98b
commit
ddb4e369dd
52 changed files with 870 additions and 469 deletions
|
@ -9,7 +9,7 @@
|
|||
${helpers.single_keyword(
|
||||
"vector-effect",
|
||||
"none non-scaling-stroke",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
animation_value_type="discrete",
|
||||
spec="https://www.w3.org/TR/SVGTiny12/painting.html#VectorEffectProperty",
|
||||
)}
|
||||
|
@ -20,7 +20,7 @@ ${helpers.predefined_type(
|
|||
"stop-color",
|
||||
"Color",
|
||||
"RGBA::new(0, 0, 0, 255).into()",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
animation_value_type="AnimatedRGBA",
|
||||
spec="https://www.w3.org/TR/SVGTiny12/painting.html#StopColorProperty",
|
||||
)}
|
||||
|
@ -29,7 +29,7 @@ ${helpers.predefined_type(
|
|||
"stop-opacity",
|
||||
"Opacity",
|
||||
"1.0",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
animation_value_type="ComputedValue",
|
||||
spec="https://svgwg.org/svg2-draft/pservers.html#StopOpacityProperty",
|
||||
)}
|
||||
|
@ -40,7 +40,7 @@ ${helpers.predefined_type(
|
|||
"flood-color",
|
||||
"Color",
|
||||
"RGBA::new(0, 0, 0, 255).into()",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
animation_value_type="AnimatedColor",
|
||||
spec="https://www.w3.org/TR/SVG/filters.html#FloodColorProperty",
|
||||
)}
|
||||
|
@ -49,7 +49,7 @@ ${helpers.predefined_type(
|
|||
"flood-opacity",
|
||||
"Opacity",
|
||||
"1.0",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
animation_value_type="ComputedValue",
|
||||
spec="https://drafts.fxtf.org/filter-effects/#FloodOpacityProperty",
|
||||
)}
|
||||
|
@ -58,7 +58,7 @@ ${helpers.predefined_type(
|
|||
"lighting-color",
|
||||
"Color",
|
||||
"RGBA::new(255, 255, 255, 255).into()",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
animation_value_type="AnimatedColor",
|
||||
spec="https://www.w3.org/TR/SVG/filters.html#LightingColorProperty",
|
||||
)}
|
||||
|
@ -68,7 +68,7 @@ ${helpers.predefined_type(
|
|||
${helpers.single_keyword(
|
||||
"mask-type",
|
||||
"luminance alpha",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
animation_value_type="discrete",
|
||||
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-type",
|
||||
)}
|
||||
|
@ -77,7 +77,7 @@ ${helpers.predefined_type(
|
|||
"clip-path",
|
||||
"basic_shape::ClippingShape",
|
||||
"generics::basic_shape::ShapeSource::None",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
animation_value_type="basic_shape::ClippingShape",
|
||||
flags="CREATES_STACKING_CONTEXT",
|
||||
spec="https://drafts.fxtf.org/css-masking/#propdef-clip-path",
|
||||
|
@ -86,9 +86,9 @@ ${helpers.predefined_type(
|
|||
${helpers.single_keyword(
|
||||
"mask-mode",
|
||||
"match-source alpha luminance",
|
||||
engines="gecko",
|
||||
gecko_enum_prefix="StyleMaskMode",
|
||||
vector=True,
|
||||
products="gecko",
|
||||
animation_value_type="discrete",
|
||||
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-mode",
|
||||
)}
|
||||
|
@ -97,8 +97,8 @@ ${helpers.predefined_type(
|
|||
"mask-repeat",
|
||||
"BackgroundRepeat",
|
||||
"computed::BackgroundRepeat::repeat()",
|
||||
engines="gecko",
|
||||
initial_specified_value="specified::BackgroundRepeat::repeat()",
|
||||
products="gecko",
|
||||
extra_prefixes="webkit",
|
||||
animation_value_type="discrete",
|
||||
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-repeat",
|
||||
|
@ -110,7 +110,7 @@ ${helpers.predefined_type(
|
|||
"mask-position-" + axis,
|
||||
"position::" + direction + "Position",
|
||||
"computed::LengthPercentage::zero()",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
extra_prefixes="webkit",
|
||||
initial_specified_value="specified::PositionComponent::Center",
|
||||
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-position",
|
||||
|
@ -123,9 +123,9 @@ ${helpers.predefined_type(
|
|||
${helpers.single_keyword(
|
||||
"mask-clip",
|
||||
"border-box content-box padding-box",
|
||||
engines="gecko",
|
||||
extra_gecko_values="fill-box stroke-box view-box no-clip",
|
||||
vector=True,
|
||||
products="gecko",
|
||||
extra_prefixes="webkit",
|
||||
gecko_enum_prefix="StyleGeometryBox",
|
||||
gecko_inexhaustive=True,
|
||||
|
@ -136,9 +136,9 @@ ${helpers.single_keyword(
|
|||
${helpers.single_keyword(
|
||||
"mask-origin",
|
||||
"border-box content-box padding-box",
|
||||
engines="gecko",
|
||||
extra_gecko_values="fill-box stroke-box view-box",
|
||||
vector=True,
|
||||
products="gecko",
|
||||
extra_prefixes="webkit",
|
||||
gecko_enum_prefix="StyleGeometryBox",
|
||||
gecko_inexhaustive=True,
|
||||
|
@ -150,8 +150,8 @@ ${helpers.predefined_type(
|
|||
"mask-size",
|
||||
"background::BackgroundSize",
|
||||
"computed::BackgroundSize::auto()",
|
||||
engines="gecko",
|
||||
initial_specified_value="specified::BackgroundSize::auto()",
|
||||
products="gecko",
|
||||
extra_prefixes="webkit",
|
||||
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-size",
|
||||
animation_value_type="MaskSizeList",
|
||||
|
@ -162,8 +162,8 @@ ${helpers.predefined_type(
|
|||
${helpers.single_keyword(
|
||||
"mask-composite",
|
||||
"add subtract intersect exclude",
|
||||
engines="gecko",
|
||||
vector=True,
|
||||
products="gecko",
|
||||
extra_prefixes="webkit",
|
||||
animation_value_type="discrete",
|
||||
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-composite",
|
||||
|
@ -172,12 +172,12 @@ ${helpers.single_keyword(
|
|||
${helpers.predefined_type(
|
||||
"mask-image",
|
||||
"ImageLayer",
|
||||
engines="gecko",
|
||||
initial_value="computed::ImageLayer::none()",
|
||||
initial_specified_value="specified::ImageLayer::none()",
|
||||
parse_method="parse_with_cors_anonymous",
|
||||
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-image",
|
||||
vector=True,
|
||||
products="gecko",
|
||||
extra_prefixes="webkit",
|
||||
animation_value_type="discrete",
|
||||
flags="CREATES_STACKING_CONTEXT",
|
||||
|
@ -187,7 +187,7 @@ ${helpers.predefined_type(
|
|||
"x",
|
||||
"LengthPercentage",
|
||||
"computed::LengthPercentage::zero()",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
animation_value_type="ComputedValue",
|
||||
spec="https://svgwg.org/svg2-draft/geometry.html#X",
|
||||
)}
|
||||
|
@ -196,7 +196,7 @@ ${helpers.predefined_type(
|
|||
"y",
|
||||
"LengthPercentage",
|
||||
"computed::LengthPercentage::zero()",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
animation_value_type="ComputedValue",
|
||||
spec="https://svgwg.org/svg2-draft/geometry.html#Y",
|
||||
)}
|
||||
|
@ -205,7 +205,7 @@ ${helpers.predefined_type(
|
|||
"cx",
|
||||
"LengthPercentage",
|
||||
"computed::LengthPercentage::zero()",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
animation_value_type="ComputedValue",
|
||||
spec="https://svgwg.org/svg2-draft/geometry.html#CX",
|
||||
)}
|
||||
|
@ -214,7 +214,7 @@ ${helpers.predefined_type(
|
|||
"cy",
|
||||
"LengthPercentage",
|
||||
"computed::LengthPercentage::zero()",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
animation_value_type="ComputedValue",
|
||||
spec="https://svgwg.org/svg2-draft/geometry.html#CY",
|
||||
)}
|
||||
|
@ -223,7 +223,7 @@ ${helpers.predefined_type(
|
|||
"rx",
|
||||
"NonNegativeLengthPercentageOrAuto",
|
||||
"computed::NonNegativeLengthPercentageOrAuto::auto()",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
animation_value_type="LengthPercentageOrAuto",
|
||||
spec="https://svgwg.org/svg2-draft/geometry.html#RX",
|
||||
)}
|
||||
|
@ -232,7 +232,7 @@ ${helpers.predefined_type(
|
|||
"ry",
|
||||
"NonNegativeLengthPercentageOrAuto",
|
||||
"computed::NonNegativeLengthPercentageOrAuto::auto()",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
animation_value_type="LengthPercentageOrAuto",
|
||||
spec="https://svgwg.org/svg2-draft/geometry.html#RY",
|
||||
)}
|
||||
|
@ -241,7 +241,7 @@ ${helpers.predefined_type(
|
|||
"r",
|
||||
"NonNegativeLengthPercentage",
|
||||
"computed::NonNegativeLengthPercentage::zero()",
|
||||
products="gecko",
|
||||
engines="gecko",
|
||||
animation_value_type="LengthPercentage",
|
||||
spec="https://svgwg.org/svg2-draft/geometry.html#R",
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue