Searched refs:viewElement (Results 1 – 2 of 2) sorted by relevance
505 void SVGSVGElement::inheritViewAttributes(SVGViewElement* viewElement) in inheritViewAttributes() argument508 if (viewElement->hasAttribute(SVGNames::viewBoxAttr)) in inheritViewAttributes()509 currentView()->setViewBox(viewElement->viewBox()); in inheritViewAttributes()512 if (viewElement->hasAttribute(SVGNames::preserveAspectRatioAttr)) { in inheritViewAttributes()513 currentView()->preserveAspectRatio()->setAlign(viewElement->preserveAspectRatio()->align()); in inheritViewAttributes()514 …currentView()->preserveAspectRatio()->setMeetOrSlice(viewElement->preserveAspectRatio()->meetOrSli… in inheritViewAttributes()519 if (viewElement->hasAttribute(SVGNames::zoomAndPanAttr)) in inheritViewAttributes()520 currentView()->setZoomAndPan(viewElement->zoomAndPan()); in inheritViewAttributes()
1667 …RefPtr<SVGViewElement> viewElement = anchorNode->hasTagName(SVGNames::viewTag) ? static_cast<SVGVi… in gotoAnchor() local1668 if (viewElement.get()) { in gotoAnchor()1669 …lement> svg = static_cast<SVGSVGElement*>(SVGLocatable::nearestViewportElement(viewElement.get())); in gotoAnchor()1670 svg->inheritViewAttributes(viewElement.get()); in gotoAnchor()