, m_timeContainer(SMILTimeContainer::create(*this))
, m_translation(SVGPoint::create())
{
- ScriptWrappable::init(this);
-
m_width->setDefaultValueAsString("100%");
m_height->setDefaultValueAsString("100%");
FloatSize SVGSVGElement::currentViewportSize() const
{
- if (hasIntrinsicWidth() && hasIntrinsicHeight()) {
- Length intrinsicWidth = this->intrinsicWidth();
- Length intrinsicHeight = this->intrinsicHeight();
- return FloatSize(floatValueForLength(intrinsicWidth, 0), floatValueForLength(intrinsicHeight, 0));
- }
-
if (!renderer())
return FloatSize();
SVGGraphicsElement::trace(visitor);
}
-}
+} // namespace blink