Home
last modified time | relevance | path

Searched refs:viewElement (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGSVGElement.cpp721 SVGViewElement* viewElement = toSVGViewElement(anchorNode); in setupInitialView() local
722 if (!viewElement) in setupInitialView()
725 if (SVGSVGElement* svg = viewElement->ownerSVGElement()) { in setupInitialView()
726 svg->inheritViewAttributes(viewElement); in setupInitialView()
737 void SVGSVGElement::inheritViewAttributes(SVGViewElement* viewElement) in inheritViewAttributes() argument
742 if (viewElement->hasAttribute(SVGNames::viewBoxAttr)) in inheritViewAttributes()
743 view->setViewBoxBaseValue(viewElement->viewBoxCurrentValue()); in inheritViewAttributes()
747 if (viewElement->hasAttribute(SVGNames::preserveAspectRatioAttr)) in inheritViewAttributes()
748 view->setPreserveAspectRatioBaseValue(viewElement->preserveAspectRatioBaseValue()); in inheritViewAttributes()
752 if (viewElement->hasAttribute(SVGNames::zoomAndPanAttr)) in inheritViewAttributes()
[all …]