Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user