void SVGViewSpec::reset() { resetZoomAndPan(); m_transform->baseValue()->clear(); updateViewBox(FloatRect()); ASSERT(preserveAspectRatio()); preserveAspectRatio()->baseValue()->setAlign(SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_XMIDYMID); preserveAspectRatio()->baseValue()->setMeetOrSlice(SVGPreserveAspectRatio::SVG_MEETORSLICE_MEET); m_viewTargetString = emptyString(); }
void SVGViewSpec::reset() { resetZoomAndPan(); m_transform->baseValue()->clear(); updateViewBox(FloatRect()); ASSERT(preserveAspectRatio()); preserveAspectRatio()->baseValue()->setAlign( SVGPreserveAspectRatio::kSvgPreserveaspectratioXmidymid); preserveAspectRatio()->baseValue()->setMeetOrSlice( SVGPreserveAspectRatio::kSvgMeetorsliceMeet); m_viewTargetString = emptyString(); }