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.cpp724 SVGViewElement& viewElement = toSVGViewElement(*anchorNode); in setupInitialView() local
726 if (SVGSVGElement* svg = viewElement.ownerSVGElement()) { in setupInitialView()
727 svg->inheritViewAttributes(&viewElement); in setupInitialView()
738 void SVGSVGElement::inheritViewAttributes(SVGViewElement* viewElement) in inheritViewAttributes() argument
743 if (viewElement->hasAttribute(SVGNames::viewBoxAttr)) in inheritViewAttributes()
744 view->viewBox()->baseValue()->setValue(viewElement->viewBox()->currentValue()->value()); in inheritViewAttributes()
748 if (viewElement->hasAttribute(SVGNames::preserveAspectRatioAttr)) { in inheritViewAttributes()
749 …view->preserveAspectRatio()->baseValue()->setAlign(viewElement->preserveAspectRatio()->currentValu… in inheritViewAttributes()
750 …view->preserveAspectRatio()->baseValue()->setMeetOrSlice(viewElement->preserveAspectRatio()->curre… in inheritViewAttributes()
756 if (viewElement->hasAttribute(SVGNames::zoomAndPanAttr)) in inheritViewAttributes()
[all …]