Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough.

This commit is contained in:
L. David Baron
2008-07-16 22:59:14 -07:00
parent 97a13b7ef1
commit f51a50d4ed
73 changed files with 125 additions and 1993 deletions

View File

@@ -226,7 +226,7 @@ nsHTMLButtonControlFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
// but the real problem is the FirstChild (the AreaFrame)
// isn't being constrained properly
// Bug #17474
nsMargin border = GetStyleBorder()->GetActualBorder();
nsMargin border = GetStyleBorder()->GetBorder();
nsRect rect(aBuilder->ToReferenceFrame(this), GetSize());
rect.Deflate(border);