Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
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()->GetBorder();
|
||||
nsMargin border = GetStyleBorder()->GetActualBorder();
|
||||
nsRect rect(aBuilder->ToReferenceFrame(this), GetSize());
|
||||
rect.Deflate(border);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user