Lines Matching defs:shadowTreeElement

259     SVGElement* shadowTreeElement = targetInstance->shadowTreeElement();
260 ASSERT(shadowTreeElement);
261 ASSERT(shadowTreeElement->hasTagName(SVGNames::svgTag));
272 shadowTreeElement->setAttribute(SVGNames::widthAttr, useElement->getAttribute(SVGNames::widthAttr));
273 else if (isSymbolTag && shadowTreeElement->hasAttribute(SVGNames::widthAttr))
274 shadowTreeElement->setAttribute(SVGNames::widthAttr, "100%");
277 shadowTreeElement->setAttribute(SVGNames::heightAttr, useElement->getAttribute(SVGNames::heightAttr));
278 else if (isSymbolTag && shadowTreeElement->hasAttribute(SVGNames::heightAttr))
279 shadowTreeElement->setAttribute(SVGNames::heightAttr, "100%");
307 SVGElement* shadowTreeElement = targetInstance->shadowTreeElement();
308 ASSERT(shadowTreeElement);
309 ASSERT(shadowTreeElement->hasTagName(SVGNames::gTag));
311 if (!static_cast<SVGGElement*>(shadowTreeElement)->isShadowTreeContainerElement())
318 SVGShadowTreeContainerElement* containerElement = static_cast<SVGShadowTreeContainerElement*>(shadowTreeElement);
328 SVGElement* shadowRoot = m_targetElementInstance->shadowTreeElement();
351 if (SVGElement* shadowRoot = m_targetElementInstance->shadowTreeElement())
385 SVGElement* shadowTreeElement = targetInstance->shadowTreeElement();
386 ASSERT(shadowTreeElement);
393 String shadowTreeElementNodeName = shadowTreeElement->nodeName();
400 text += String::format("SVGElementInstance this=%p, (parentNode=%s (%p), firstChild=%s (%p), correspondingElement=%s (%p), directUseElement=%s (%p), shadowTreeElement=%s (%p), id=%s)\n",
402 elementNodeName.latin1().data(), element, directUseElementName.latin1().data(), directUseElement, shadowTreeElementNodeName.latin1().data(), shadowTreeElement, elementId.latin1().data());
415 text += String::format(" -> SVGElementInstance this=%p, (refCount: %i, shadowTreeElement in document? %i)\n",
416 *it, (*it)->refCount(), (*it)->shadowTreeElement()->inDocument());
560 ASSERT(!m_targetElementInstance->shadowTreeElement());
586 if (!m_targetElementInstance->shadowTreeElement()) {
593 ASSERT(m_targetElementInstance->shadowTreeElement()->parentNode() == shadowRoot);
675 Node* n = m_targetElementInstance ? m_targetElementInstance->shadowTreeElement() : 0;
693 Node* n = m_targetElementInstance ? m_targetElementInstance->shadowTreeElement() : 0;
949 if (SVGElement* shadowTreeElement = target->shadowTreeElement()) {
959 shadowTreeElement->addEventListener(it->first, entry[i].listener, entry[i].useCapture);
995 ASSERT(!targetInstance->shadowTreeElement());
1029 if (!instance->shadowTreeElement())
1032 if (element == instance->shadowTreeElement())