| Index: Source/core/css/StylePropertySerializer.cpp
|
| diff --git a/Source/core/css/StylePropertySerializer.cpp b/Source/core/css/StylePropertySerializer.cpp
|
| index bbf02200192578b3e77853c8acf69b93274f8eb9..d343c57509c5ad3fa885fa88933c487b4122c9f8 100644
|
| --- a/Source/core/css/StylePropertySerializer.cpp
|
| +++ b/Source/core/css/StylePropertySerializer.cpp
|
| @@ -596,6 +596,11 @@ String StylePropertySerializer::getLayeredShorthandValue(const StylePropertyShor
|
| else
|
| yValue = nextValue;
|
|
|
| + // background-repeat-x(y) or mask-repeat-x(y) may be like this : "initial, repeat". We can omit the implicit initial values
|
| + // before starting to compare their values.
|
| + if (value->isImplicitInitialValue() || yValue->isImplicitInitialValue())
|
| + continue;
|
| +
|
| int xId = toCSSPrimitiveValue(value.get())->getIdent();
|
| int yId = toCSSPrimitiveValue(yValue.get())->getIdent();
|
| if (xId != yId) {
|
|
|