Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold

This commit is contained in:
Andrew Smith
2008-07-16 23:30:25 -07:00
parent f51a50d4ed
commit 925ffa073b
73 changed files with 1959 additions and 114 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()->GetBorder();
nsMargin border = GetStyleBorder()->GetActualBorder();
nsRect rect(aBuilder->ToReferenceFrame(this), GetSize());
rect.Deflate(border);