// Returns true, if the new value is different from the old one.
virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&);
+ // SVGFilterPrimitiveStandardAttributes JS API.
+ static SVGAnimatedLength* x(SVGFilterPrimitiveStandardAttributes* object) { return object->x(); }
+ static SVGAnimatedLength* y(SVGFilterPrimitiveStandardAttributes* object) { return object->y(); }
+ static SVGAnimatedLength* width(SVGFilterPrimitiveStandardAttributes* object) { return object->width(); }
+ static SVGAnimatedLength* height(SVGFilterPrimitiveStandardAttributes* object) { return object->height(); }
+ static SVGAnimatedString* result(SVGFilterPrimitiveStandardAttributes* object) { return object->result(); }
+
SVGAnimatedLength* x() const { return m_x.get(); }
SVGAnimatedLength* y() const { return m_y.get(); }
SVGAnimatedLength* width() const { return m_width.get(); }
SVGAnimatedLength* height() const { return m_height.get(); }
+ SVGAnimatedString* result() const { return m_result.get(); }
protected:
SVGFilterPrimitiveStandardAttributes(const QualifiedName&, Document&);
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE FINAL;
virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE FINAL;
- virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE FINAL { return true; }
RefPtr<SVGAnimatedLength> m_x;
RefPtr<SVGAnimatedLength> m_y;
RefPtr<SVGAnimatedLength> m_width;
RefPtr<SVGAnimatedLength> m_height;
+ RefPtr<SVGAnimatedString> m_result;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes)
- DECLARE_ANIMATED_STRING(Result, result)
END_DECLARE_ANIMATED_PROPERTIES
};