Differentiate between SVG/CSS width/height attributes/properties
[WebKit-https.git] / Source / WebCore / rendering / RenderReplaced.h
index 3cecb37..1c6ebbc 100644 (file)
@@ -35,6 +35,9 @@ public:
     virtual LayoutUnit computeReplacedLogicalWidth(bool includeMaxWidth = true) const;
     virtual LayoutUnit computeReplacedLogicalHeight() const;
 
+    bool hasReplacedLogicalWidth() const;
+    bool hasReplacedLogicalHeight() const;
+
 protected:
     virtual void willBeDestroyed();
 
@@ -62,7 +65,6 @@ private:
     virtual RenderBox* embeddedContentBox() const { return 0; }
     int computeIntrinsicLogicalWidth(RenderBox* contentRenderer, bool includeMaxWidth) const;
     int computeIntrinsicLogicalHeight(RenderBox* contentRenderer) const;
-    bool logicalHeightIsAuto() const;
 
     virtual const char* renderName() const { return "RenderReplaced"; }
 
@@ -75,7 +77,7 @@ private:
 
     virtual void paintReplaced(PaintInfo&, const LayoutPoint&) { }
 
-    virtual IntRect clippedOverflowRectForRepaint(RenderBoxModelObject* repaintContainer) const;
+    virtual LayoutRect clippedOverflowRectForRepaint(RenderBoxModelObject* repaintContainer) const;
 
     virtual VisiblePosition positionForPoint(const LayoutPoint&);