| Index: sky/engine/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
|
| diff --git a/sky/engine/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl b/sky/engine/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
|
| index 5cc02304f78d2bf95560414be2ce7a0e6cdb587b..26716bd4526236aad67b6bde583b0cb04b818f2c 100644
|
| --- a/sky/engine/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
|
| +++ b/sky/engine/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
|
| @@ -437,39 +437,6 @@ static bool lengthTypeAndValueMatch(const BorderImageLengthBox& borderImageLengt
|
| {{apply_fill_layer('CSSPropertyWebkitMaskRepeatY', 'RepeatY')}}
|
| {{apply_fill_layer('CSSPropertyWebkitMaskSize', 'Size')}}
|
|
|
| -{% macro apply_grid_template(property_id, type) %}
|
| -{{declare_initial_function(property_id)}}
|
| -{
|
| - state.style()->setGridTemplate{{type}}s(RenderStyle::initialGridTemplate{{type}}s());
|
| - state.style()->setNamedGrid{{type}}Lines(RenderStyle::initialNamedGrid{{type}}Lines());
|
| - state.style()->setOrderedNamedGrid{{type}}Lines(RenderStyle::initialOrderedNamedGrid{{type}}Lines());
|
| -}
|
| -
|
| -{{declare_inherit_function(property_id)}}
|
| -{
|
| - state.style()->setGridTemplate{{type}}s(state.parentStyle()->gridTemplate{{type}}s());
|
| - state.style()->setNamedGrid{{type}}Lines(state.parentStyle()->namedGrid{{type}}Lines());
|
| - state.style()->setOrderedNamedGrid{{type}}Lines(state.parentStyle()->orderedNamedGrid{{type}}Lines());
|
| -}
|
| -
|
| -{{declare_value_function(property_id)}}
|
| -{
|
| - Vector<GridTrackSize> trackSizes;
|
| - NamedGridLinesMap namedGridLines;
|
| - OrderedNamedGridLines orderedNamedGridLines;
|
| - if (!StyleBuilderConverter::convertGridTrackList(value, trackSizes, namedGridLines, orderedNamedGridLines, state))
|
| - return;
|
| - const NamedGridAreaMap& namedGridAreas = state.style()->namedGridArea();
|
| - if (!namedGridAreas.isEmpty())
|
| - StyleBuilderConverter::createImplicitNamedGridLinesFromGridArea(namedGridAreas, namedGridLines, For{{type}}s);
|
| - state.style()->setGridTemplate{{type}}s(trackSizes);
|
| - state.style()->setNamedGrid{{type}}Lines(namedGridLines);
|
| - state.style()->setOrderedNamedGrid{{type}}Lines(orderedNamedGridLines);
|
| -}
|
| -{% endmacro %}
|
| -{{apply_grid_template('CSSPropertyGridTemplateColumns', 'Column')}}
|
| -{{apply_grid_template('CSSPropertyGridTemplateRows', 'Row')}}
|
| -
|
| {% macro apply_value_number(property_id, id_for_minus_one) %}
|
| {{declare_value_function(property_id)}}
|
| {
|
| @@ -546,7 +513,6 @@ static bool lengthTypeAndValueMatch(const BorderImageLengthBox& borderImageLengt
|
| }
|
| }
|
| {% endmacro %}
|
| -{{apply_alignment('CSSPropertyJustifySelf', 'JustifySelf')}}
|
| {{apply_alignment('CSSPropertyAlignItems', 'AlignItems')}}
|
| {{apply_alignment('CSSPropertyAlignSelf', 'AlignSelf')}}
|
|
|
|
|