Home
last modified time | relevance | path

Searched refs:targetElement (Results 1 – 25 of 29) sorted by relevance

12

/external/webkit/Source/WebCore/svg/
DSVGAnimateMotionElement.cpp58 SVGElement* targetElement = this->targetElement(); in hasValidAttributeType() local
59 if (!targetElement) in hasValidAttributeType()
63 if (!targetElement->isStyledTransformable() && !targetElement->hasTagName(SVGNames::textTag)) in hasValidAttributeType()
67 if (targetElement->hasTagName(gTag) in hasValidAttributeType()
68 || targetElement->hasTagName(defsTag) in hasValidAttributeType()
69 || targetElement->hasTagName(useTag) in hasValidAttributeType()
70 || targetElement->hasTagName(imageTag) in hasValidAttributeType()
71 || targetElement->hasTagName(switchTag) in hasValidAttributeType()
72 || targetElement->hasTagName(pathTag) in hasValidAttributeType()
73 || targetElement->hasTagName(rectTag) in hasValidAttributeType()
[all …]
DSVGAnimateElement.cpp91 static inline void adjustForCurrentColor(SVGElement* targetElement, Color& color) in adjustForCurrentColor() argument
93 ASSERT(targetElement); in adjustForCurrentColor()
95 if (RenderObject* targetRenderer = targetElement->renderer()) in adjustForCurrentColor()
101 static inline void adjustForInheritance(SVGElement* targetElement, const QualifiedName& attributeNa… in adjustForInheritance() argument
105 ASSERT(targetElement); in adjustForInheritance()
107 Element* parent = targetElement->parentElement(); in adjustForInheritance()
118 SVGElement* targetElement = this->targetElement(); in hasValidAttributeType() local
119 if (!targetElement) in hasValidAttributeType()
122 return determineAnimatedAttributeType(targetElement) != AnimatedUnknown; in hasValidAttributeType()
125 AnimatedAttributeType SVGAnimateElement::determineAnimatedAttributeType(SVGElement* targetElement) … in determineAnimatedAttributeType()
[all …]
DSVGAnimateTransformElement.cpp64 SVGElement* targetElement = this->targetElement(); in hasValidAttributeType() local
65 if (!targetElement) in hasValidAttributeType()
68 return determineAnimatedAttributeType(targetElement) == AnimatedTransformList; in hasValidAttributeType()
71 …uteType SVGAnimateTransformElement::determineAnimatedAttributeType(SVGElement* targetElement) const in determineAnimatedAttributeType()
73 ASSERT(targetElement); in determineAnimatedAttributeType()
77 if (targetElement->animatedPropertyTypeForAttribute(attributeName()) != AnimatedTransformList) in determineAnimatedAttributeType()
116 SVGElement* targetElement = this->targetElement(); in resetToBaseValue() local
117 if (!targetElement || determineAnimatedAttributeType(targetElement) == AnimatedUnknown) in resetToBaseValue()
120 …if (targetElement->hasTagName(SVGNames::linearGradientTag) || targetElement->hasTagName(SVGNames::… in resetToBaseValue()
121targetElement->setAttribute(SVGNames::gradientTransformAttr, baseValue.isEmpty() ? "matrix(1 0 0 1… in resetToBaseValue()
[all …]
DSVGDocumentExtensions.cpp140 …xtensions::addAnimationElementToTarget(SVGSMILElement* animationElement, SVGElement* targetElement) in addAnimationElementToTarget() argument
142 ASSERT(targetElement); in addAnimationElementToTarget()
145 …if (HashSet<SVGSMILElement*>* animationElementsForTarget = m_animatedElements.get(targetElement)) { in addAnimationElementToTarget()
152 m_animatedElements.set(targetElement, animationElementsForTarget); in addAnimationElementToTarget()
155 …ions::removeAnimationElementFromTarget(SVGSMILElement* animationElement, SVGElement* targetElement) in removeAnimationElementFromTarget() argument
157 ASSERT(targetElement); in removeAnimationElementFromTarget()
160 …Map<SVGElement*, HashSet<SVGSMILElement*>* >::iterator it = m_animatedElements.find(targetElement); in removeAnimationElementFromTarget()
173 void SVGDocumentExtensions::removeAllAnimationElementsFromTarget(SVGElement* targetElement) in removeAllAnimationElementsFromTarget() argument
175 ASSERT(targetElement); in removeAllAnimationElementsFromTarget()
176 HashSet<SVGSMILElement*>* animationElementsForTarget = m_animatedElements.take(targetElement); in removeAllAnimationElementsFromTarget()
DSVGAnimationElement.cpp293 bool SVGAnimationElement::isTargetAttributeCSSProperty(SVGElement* targetElement, const QualifiedNa… in isTargetAttributeCSSProperty() argument
295 ASSERT(targetElement); in isTargetAttributeCSSProperty()
296 if (!targetElement->isStyled()) in isTargetAttributeCSSProperty()
306 SVGElement* targetElement = this->targetElement(); in setTargetAttributeAnimatedValue() local
308 if (!targetElement || attributeName == anyQName() || value.isNull()) in setTargetAttributeAnimatedValue()
312 if (targetElement->isStyled()) in setTargetAttributeAnimatedValue()
313 static_cast<SVGStyledElement*>(targetElement)->setInstanceUpdatesBlocked(true); in setTargetAttributeAnimatedValue()
315 bool attributeIsCSSProperty = isTargetAttributeCSSProperty(targetElement, attributeName); in setTargetAttributeAnimatedValue()
324 targetElement->style()->setProperty(attributeName.localName(), value, "", ec); in setTargetAttributeAnimatedValue()
328 targetElement->setAttribute(attributeName, value, ec); in setTargetAttributeAnimatedValue()
[all …]
DSVGUseElement.cpp462 Element* targetElement = document()->getElementById(id); in buildPendingResource() local
465 if (!targetElement) { in buildPendingResource()
506 Element* targetElement = document()->getElementById(id); in buildShadowAndInstanceTree() local
507 if (!targetElement) { in buildShadowAndInstanceTree()
525 if (targetElement && targetElement->isSVGElement()) in buildShadowAndInstanceTree()
526 target = static_cast<SVGElement*>(targetElement); in buildShadowAndInstanceTree()
757 Element* targetElement = document()->getElementById(id); in hasCycleUseReferencing() local
759 if (targetElement && targetElement->isSVGElement()) in hasCycleUseReferencing()
760 newTarget = static_cast<SVGElement*>(targetElement); in hasCycleUseReferencing()
838 Element* targetElement = document()->getElementById(id); in expandUseElementsInShadowTree() local
[all …]
DSVGTests.cpp95 bool SVGTests::handleAttributeChange(const SVGElement* targetElement, const QualifiedName& attrName) in handleAttributeChange() argument
99 if (!targetElement->inDocument()) in handleAttributeChange()
101 SVGElement* svgElement = const_cast<SVGElement*>(targetElement); in handleAttributeChange()
DSVGAElement.cpp167 Element* targetElement = document()->getElementById(url.substring(1)); in defaultEventHandler() local
168 if (SVGSMILElement::isSMILElement(targetElement)) { in defaultEventHandler()
169 static_cast<SVGSMILElement*>(targetElement)->beginByLinkActivation(); in defaultEventHandler()
DSVGTextPathElement.cpp160 Element* targetElement = ownerDocument()->getElementById(id); in insertedIntoDocument() local
161 if (!targetElement) { in insertedIntoDocument()
DSVGAnimationElement.idl32 readonly attribute SVGElement targetElement;
/external/webkit/Source/WebCore/svg/animation/
DSMILTimeContainer.cpp199 SVGElement* targetElement = key.first; in baseValueFor() local
201 ASSERT(targetElement); in baseValueFor()
204 if (SVGAnimationElement::isTargetAttributeCSSProperty(targetElement, attributeName)) in baseValueFor()
205 …baseValue = computedStyle(targetElement)->getPropertyValue(cssPropertyID(attributeName.localName()… in baseValueFor()
207 baseValue = targetElement->getAttribute(attributeName); in baseValueFor()
238 SVGElement* targetElement = animation->targetElement(); in updateAnimations() local
240 …if (!targetElement || !targetElement->hasID() || targetElement->idForStyleResolution() != m_nextSa… in updateAnimations()
264 SVGElement* targetElement = animation->targetElement(); in updateAnimations() local
265 if (!targetElement) in updateAnimations()
277 ElementAttributePair key(targetElement, attributeName); in updateAnimations()
DSVGSMILElement.h57 SVGElement* targetElement() const;
DSVGSMILElement.cpp430 …return condition.m_baseID.isEmpty() ? targetElement() : document()->getElementById(condition.m_bas… in eventBaseFor()
498 SVGElement* SVGSMILElement::targetElement() const in targetElement() function in WebCore::SVGSMILElement
/external/webkit/Source/WebCore/rendering/svg/
DRenderSVGTextPath.cpp48 Element* targetElement = textPathElement->document()->getElementById(pathId); in layoutPath() local
49 if (!targetElement || !targetElement->hasTagName(SVGNames::pathTag)) in layoutPath()
52 SVGPathElement* pathElement = static_cast<SVGPathElement*>(targetElement); in layoutPath()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DStylesheetRoot.java918 XPathContext support, int targetElement, DTM dtm) throws TransformerException in getWhiteSpaceInfo() argument
923 targetElement, null, false, dtm); in getWhiteSpaceInfo()
940 XPathContext support, int targetElement) throws TransformerException in shouldStripWhiteSpace() argument
944 while(DTM.NULL != targetElement) in shouldStripWhiteSpace()
946 DTM dtm = support.getDTM(targetElement); in shouldStripWhiteSpace()
948 targetElement, null, false, dtm); in shouldStripWhiteSpace()
952 int parent = dtm.getParent(targetElement); in shouldStripWhiteSpace()
954 targetElement = parent; in shouldStripWhiteSpace()
956 targetElement = DTM.NULL; in shouldStripWhiteSpace()
DElemTemplateElement.java1535 org.w3c.dom.Element targetElement) throws TransformerException in shouldStripWhiteSpace() argument
1538 return (null != sroot) ? sroot.shouldStripWhiteSpace(support, targetElement) :false; in shouldStripWhiteSpace()
/external/apache-xml/src/main/java/org/apache/xpath/
DWhitespaceStrippingElementMatcher.java45 XPathContext support, Element targetElement) throws TransformerException; in shouldStripWhiteSpace() argument
/external/webkit/Source/WebCore/inspector/front-end/
DMetricsSidebarPane.js211 startEditing: function(targetElement, box, styleProperty, computedStyle) argument
213 if (WebInspector.isBeingEdited(targetElement))
218 WebInspector.startEditing(targetElement, {
/external/webkit/Source/WebCore/wml/
DWMLTableElement.h47 …ildrenOfElementToTargetElement(WMLElement* sourceElement, WMLElement* targetElement, unsigned star…
DWMLTableElement.cpp138 …ildrenOfElementToTargetElement(WMLElement* sourceElement, WMLElement* targetElement, unsigned star… in transferAllChildrenOfElementToTargetElement() argument
149 targetElement->appendChild(clonedNode.release(), ec); in transferAllChildrenOfElementToTargetElement()
/external/webkit/Source/WebCore/html/
DHTMLFormElement.cpp202 Element* targetElement = static_cast<Element*>(targetNode); in submitElementFromEvent() local
203 if (!targetElement->isFormControlElement()) in submitElementFromEvent()
205 return static_cast<HTMLFormControlElement*>(targetElement); in submitElementFromEvent()
/external/webkit/Source/WebCore/html/parser/
DHTMLElementStack.cpp460 bool HTMLElementStack::inScope(Element* targetElement) const in inScope()
464 if (node == targetElement) in inScope()
/external/webkit/Source/WebCore/
DChangeLog-2005-12-195308 (SVGAnimationElementImpl::targetElement):
9850 (SVGAnimationElementImpl::targetElement):
11749 (SVGAnimationElementImpl::targetElement):
27025 (SVGAnimationElementImpl::targetElement):
DChangeLog-2008-08-1029684 (WebCore::SVGSMILElement::targetElement):
32832 (WebCore::SVGSMILElement::targetElement):
67422 (WebCore::SVGAnimationElement::targetElement):
DChangeLog5645 (WebCore::SVGSMILElement::targetElement):
60473 (WebCore::SVGSMILElement::targetElement):

12