#ifndef RenderSVGBlock_h
#define RenderSVGBlock_h
#include "RenderBlockFlow.h"
#include "SVGGraphicsElement.h"
#include "SVGRenderSupport.h"
namespace WebCore {
class SVGElement;
class RenderSVGBlock : public RenderBlockFlow {
public:
virtual LayoutRect visualOverflowRect() const override final;
SVGGraphicsElement& graphicsElement() const { return toSVGGraphicsElement(nodeForNonAnonymous()); }
protected:
RenderSVGBlock(SVGGraphicsElement&, PassRef<RenderStyle>);
virtual void willBeDestroyed() override;
private:
void element() const = delete;
virtual void updateFromStyle() override final;
virtual bool isRenderSVGBlock() const override final { return true; };
virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const;
virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override final;
};
}
#endif