Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron

This commit is contained in:
Michael Ventnor
2009-02-10 21:45:13 +13:00
parent 92831842b2
commit 87dd7633de
27 changed files with 342 additions and 63 deletions
+1 -5
View File
@@ -182,11 +182,7 @@ nsHTMLButtonControlFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
{
nsDisplayList onTop;
if (IsVisibleForPainting(aBuilder)) {
nsresult rv = aLists.BorderBackground()->AppendNewToTop(new (aBuilder)
nsDisplayBoxShadow(this));
NS_ENSURE_SUCCESS(rv, rv);
rv = mRenderer.DisplayButton(aBuilder, aLists.BorderBackground(), &onTop);
nsresult rv = mRenderer.DisplayButton(aBuilder, aLists.BorderBackground(), &onTop);
NS_ENSURE_SUCCESS(rv, rv);
}