2006-05-13 Sam Weinig <sam.weinig@gmail.com>
[WebKit-https.git] / WebCore / rendering / RenderBox.h
index 8958a6dae96ded09e01ed4455bed60ef7afe1bed..b3a5648270b7449b8e3d1b94115dcfd3ee216fef 100644 (file)
@@ -158,11 +158,18 @@ protected:
 
     void calcAbsoluteHorizontal();
     void calcAbsoluteVertical();
-    void calcAbsoluteHorizontalValues(WidthType widthType, RenderObject* cb, int cw, int pab, int static_distance,
-                                      int l, int r, int& w, int& ml, int& mr, int& x);
-    void calcAbsoluteVerticalValues(HeightType heightType, RenderObject* cb, int ch, int pab, 
-                                    int t, int b, int& h, int& mt, int& mb, int& y); 
-    
+    void calcAbsoluteHorizontalValues(Length width, const RenderObject* cb, 
+                                      const int containerWidth, const int bordersPlusPadding, 
+                                      const Length left, const Length right, const Length marginLeft, const Length marginRight,
+                                      int& widthValue, int& marginLeftValue, int& marginRightValue, int& xPos);
+    void calcAbsoluteVerticalValues(Length height, const RenderObject* cb, 
+                                    const int containerHeight, const int bordersPlusPadding,
+                                    const Length top, const Length bottom, const Length marginTop, const Length marginBottom,
+                                    int& heightValue, int& marginTopValue, int& marginBottomValue, int& yPos);
+
+    void calcAbsoluteVerticalReplaced();
+    void calcAbsoluteHorizontalReplaced();
+
     virtual IntRect getOverflowClipRect(int tx, int ty);
     virtual IntRect getClipRect(int tx, int ty);