Home | History | Annotate | Download | only in resolver

Lines Matching defs:parentStyle

609     if (sharingBehavior == AllowStyleSharing && !state.distributedToInsertionPoint() && state.parentStyle()) {
616 if (state.parentStyle()) {
618 state.style()->inheritFrom(state.parentStyle(), isAtShadowBoundary(element) ? RenderStyle::AtShadowBoundary : RenderStyle::NotAtShadowBoundary);
667 adjuster.adjustRenderStyle(state.style(), state.parentStyle(), element);
919 PassRefPtr<RenderStyle> StyleResolver::pseudoStyleForElement(Element* e, const PseudoStyleRequest& pseudoStyleRequest, RenderStyle* parentStyle)
923 ASSERT(parentStyle);
929 StyleResolverState state(document(), e, parentStyle);
931 if (pseudoStyleRequest.allowsInheritance(state.parentStyle())) {
933 state.style()->inheritFrom(state.parentStyle());
968 adjuster.adjustRenderStyle(state.style(), state.parentStyle(), 0);
1096 state.fontBuilder().createFont(m_fontSelector, state.parentStyle(), state.style());
1363 && MatchedPropertiesCache::isCacheable(element, state.style(), state.parentStyle())) {
1369 if (state.parentStyle()->inheritedDataShared(cachedMatchedProperties->parentRenderStyle.get()) && !isAtShadowBoundary(element)) {
1453 if (!MatchedPropertiesCache::isCacheable(element, state.style(), state.parentStyle()))
1456 m_matchedPropertiesCache.add(state.style(), state.parentStyle(), cacheHash, matchResult);