| Index: Source/core/css/resolver/StyleBuilderCustom.cpp
|
| diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| index 40e8122bf5ed52ab5bdb67489a11637a4c282780..271e4eb8cdc73f20102e5219ae05af0167a09ef5 100644
|
| --- a/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| +++ b/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| @@ -166,40 +166,6 @@ void StyleBuilderFunctions::applyValueCSSPropertyColor(StyleResolverState& state
|
| state.style()->setVisitedLinkColor(StyleBuilderConverter::convertColor(state, value, true));
|
| }
|
|
|
| -void StyleBuilderFunctions::applyInitialCSSPropertyJustifyItems(StyleResolverState& state)
|
| -{
|
| - state.style()->setJustifyItems(ComputedStyle::initialJustifyItems());
|
| - state.style()->setJustifyItemsOverflowAlignment(ComputedStyle::initialJustifyItemsOverflowAlignment());
|
| - state.style()->setJustifyItemsPositionType(ComputedStyle::initialJustifyItemsPositionType());
|
| -}
|
| -
|
| -void StyleBuilderFunctions::applyInheritCSSPropertyJustifyItems(StyleResolverState& state)
|
| -{
|
| - state.style()->setJustifyItems(state.parentStyle()->justifyItems());
|
| - state.style()->setJustifyItemsOverflowAlignment(state.parentStyle()->justifyItemsOverflowAlignment());
|
| - state.style()->setJustifyItemsPositionType(state.parentStyle()->justifyItemsPositionType());
|
| -}
|
| -
|
| -void StyleBuilderFunctions::applyValueCSSPropertyJustifyItems(StyleResolverState& state, CSSValue* value)
|
| -{
|
| - state.style()->setJustifyItems(ComputedStyle::initialJustifyItems());
|
| - state.style()->setJustifyItemsOverflowAlignment(ComputedStyle::initialJustifyItemsOverflowAlignment());
|
| - state.style()->setJustifyItemsPositionType(ComputedStyle::initialJustifyItemsPositionType());
|
| -
|
| - CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
|
| - if (Pair* pairValue = primitiveValue->getPairValue()) {
|
| - if (pairValue->first()->getValueID() == CSSValueLegacy) {
|
| - state.style()->setJustifyItemsPositionType(LegacyPosition);
|
| - state.style()->setJustifyItems(*pairValue->second());
|
| - } else {
|
| - state.style()->setJustifyItems(*pairValue->first());
|
| - state.style()->setJustifyItemsOverflowAlignment(*pairValue->second());
|
| - }
|
| - } else {
|
| - state.style()->setJustifyItems(*primitiveValue);
|
| - }
|
| -}
|
| -
|
| void StyleBuilderFunctions::applyInitialCSSPropertyCursor(StyleResolverState& state)
|
| {
|
| state.style()->clearCursorList();
|
|
|