| Index: Source/core/css/resolver/StyleAdjuster.cpp
|
| diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp
|
| index 47fd83541774507e96858d18e08d86f966806203..30abca47feec71c8bb0dfc37fc05af41e02d7e45 100644
|
| --- a/Source/core/css/resolver/StyleAdjuster.cpp
|
| +++ b/Source/core/css/resolver/StyleAdjuster.cpp
|
| @@ -280,8 +280,8 @@ void StyleAdjuster::adjustRenderStyle(RenderStyle* style, RenderStyle* parentSty
|
| if (style->hasAppearance())
|
| RenderTheme::theme().adjustStyle(style, e, m_cachedUAStyle);
|
|
|
| - // If we have first-letter pseudo style, do not share this style.
|
| - if (style->hasPseudoStyle(FIRST_LETTER))
|
| + // If we have first-letter pseudo style, transitions, or animations, do not share this style.
|
| + if (style->hasPseudoStyle(FIRST_LETTER) || style->transitions() || style->animations())
|
| style->setUnique();
|
|
|
| // FIXME: when dropping the -webkit prefix on transform-style, we should also have opacity < 1 cause flattening.
|
|
|