| Index: Source/core/css/resolver/StyleBuilderConverter.cpp
|
| diff --git a/Source/core/css/resolver/StyleBuilderConverter.cpp b/Source/core/css/resolver/StyleBuilderConverter.cpp
|
| index f611d071d7e7cc05fc3b36e63f21f2df401febd9..a4bac3c279f1164ea87d686de85775cb30cb19ae 100644
|
| --- a/Source/core/css/resolver/StyleBuilderConverter.cpp
|
| +++ b/Source/core/css/resolver/StyleBuilderConverter.cpp
|
| @@ -130,7 +130,7 @@ static FontDescription::GenericFamilyType convertGenericFamily(CSSValueID valueI
|
| static bool convertFontFamilyName(StyleResolverState& state, CSSPrimitiveValue* primitiveValue,
|
| FontDescription::GenericFamilyType& genericFamily, AtomicString& familyName)
|
| {
|
| - if (primitiveValue->isString()) {
|
| + if (primitiveValue->isCustomIdent()) {
|
| genericFamily = FontDescription::NoFamily;
|
| familyName = AtomicString(primitiveValue->getStringValue());
|
| } else if (state.document().settings()) {
|
| @@ -401,7 +401,7 @@ GridPosition StyleBuilderConverter::convertGridPosition(StyleResolverState&, CSS
|
| CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
|
| // We translate <custom-ident> to <string> during parsing as it
|
| // makes handling it more simple.
|
| - if (primitiveValue->isString()) {
|
| + if (primitiveValue->isCustomIdent()) {
|
| position.setNamedGridArea(primitiveValue->getStringValue());
|
| return position;
|
| }
|
| @@ -432,7 +432,7 @@ GridPosition StyleBuilderConverter::convertGridPosition(StyleResolverState&, CSS
|
| currentValue = it != values->end() ? toCSSPrimitiveValue(it->get()) : 0;
|
| }
|
|
|
| - if (currentValue && currentValue->isString()) {
|
| + if (currentValue && currentValue->isCustomIdent()) {
|
| gridLineName = currentValue->getStringValue();
|
| ++it;
|
| }
|
|
|