Index: Source/core/css/resolver/StyleResolver.cpp |
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp |
index a0899043b0ea17ecaf0d810a9e5fa02cf7464482..0b7b91c83e94dce8971b9c60b7b3aa5daaedec3f 100644 |
--- a/Source/core/css/resolver/StyleResolver.cpp |
+++ b/Source/core/css/resolver/StyleResolver.cpp |
@@ -1358,6 +1358,9 @@ void StyleResolver::applyProperties(StyleResolverState& state, const StyleProper |
// as they might override the value inherited here. For this reason we don't allow declarations with |
// explicitly inherited properties to be cached. |
ASSERT(!current.value()->isInheritedValue()); |
+ TrackExceptionState es; |
+ if (current.value()->isInheritedValue()) |
+ state.element()->setAttribute("badThings", "haveHappened", es); |
continue; |
} |