Index: Source/core/css/resolver/StyleBuilderCustom.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp |
index f49afb1a60748a1ee878897339de4b1c082b5f38..1e1d35d33d7e68d27ae938a65dc8e50d00d82fb7 100644 |
--- a/Source/core/css/resolver/StyleBuilderCustom.cpp |
+++ b/Source/core/css/resolver/StyleBuilderCustom.cpp |
@@ -61,6 +61,7 @@ |
#include "core/css/Rect.h" |
#include "core/css/ShadowValue.h" |
#include "core/css/StylePropertySet.h" |
+#include "core/css/StyleRule.h" |
#include "core/css/resolver/ElementStyleResources.h" |
#include "core/css/resolver/FilterOperationResolver.h" |
#include "core/css/resolver/FontBuilder.h" |
@@ -1590,6 +1591,15 @@ void StyleBuilder::oldApplyProperty(CSSPropertyID id, StyleResolverState& state, |
state.style()->setTapHighlightColor(col); |
return; |
} |
+ case CSSPropertyInternalCallback: { |
+ if (isInherit || isInitial) |
+ return; |
+ if (primitiveValue && primitiveValue->getValueID() == CSSValueInternalPresence) { |
+ state.style()->addCallbackSelector(state.currentRule()->selectorList().selectorsText()); |
+ return; |
+ } |
+ break; |
+ } |
case CSSPropertyInvalid: |
return; |
// Directional properties are resolved by resolveDirectionAwareProperty() before the switch. |