Home
last modified time | relevance | path

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

/external/webkit/WebCore/svg/
DSVGSVGElement.cpp505 void SVGSVGElement::inheritViewAttributes(SVGViewElement* viewElement) in inheritViewAttributes() argument
508 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()
/external/webkit/WebCore/loader/
DFrameLoader.cpp1667 …RefPtr<SVGViewElement> viewElement = anchorNode->hasTagName(SVGNames::viewTag) ? static_cast<SVGVi… in gotoAnchor() local
1668 if (viewElement.get()) { in gotoAnchor()
1669 …lement> svg = static_cast<SVGSVGElement*>(SVGLocatable::nearestViewportElement(viewElement.get())); in gotoAnchor()
1670 svg->inheritViewAttributes(viewElement.get()); in gotoAnchor()