Backed out changeset 88b5a981e275 (bug 1324524) for Win8 reftest bustage

This commit is contained in:
Phil Ringnalda 2017-02-12 20:52:12 -08:00
parent ee3c2357de
commit f1c2bbe99a
4 changed files with 6 additions and 48 deletions

View File

@ -1,18 +0,0 @@
<!DOCTYPE html>
<style>
table {
border-collapse: collapse;
}
td {
background-color: rgba(0, 255, 0, 0.5);
margin-bottom: 10px;
height: 100px;
width:100px;
border-radius: 50px;
}
</style>
<table>
<tr>
<td></td>
</tr>
</table>

View File

@ -1,19 +0,0 @@
<!DOCTYPE html>
<style>
table {
border-collapse: collapse;
}
td {
background-color: rgb(0, 255, 0);
margin-bottom: 10px;
height: 100px;
width:100px;
border-radius: 50px;
opacity: 0.5;
}
</style>
<table>
<tr>
<td></td>
</tr>
</table>

View File

@ -104,4 +104,3 @@ fuzzy(255,40) == border-style-outset-becomes-groove.html border-style-outset-bec
# So get 40 pixels of fuzz, 20 at each beveled corner (because the border width
# is 20px).
fuzzy(255,40) == border-style-inset-becomes-ridge.html border-style-inset-becomes-ridge-ref.html
fuzzy(1,8301) == 1324524.html 1324524-ref.html

View File

@ -502,20 +502,16 @@ nsTableCellFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
if (aBuilder->IsForEventDelivery() ||
!StyleBackground()->IsTransparent(this) ||
StyleDisplay()->mAppearance) {
if (!tableFrame->IsBorderCollapse()) {
if (!tableFrame->IsBorderCollapse() ||
aBuilder->IsAtRootOfPseudoStackingContext() ||
aBuilder->IsForEventDelivery()) {
// The cell background was not painted by the nsTablePainter,
// so we need to do it. We have special background processing here
// so we need to duplicate some code from nsFrame::DisplayBorderBackgroundOutline
nsDisplayBackgroundImage::AppendBackgroundItemsToTop(aBuilder,
this,
GetRectRelativeToSelf(),
aLists.BorderBackground());
} else if (aBuilder->IsAtRootOfPseudoStackingContext() ||
aBuilder->IsForEventDelivery()) {
// The cell background was not painted by the nsTablePainter,
// so we need to do it. We have special background processing here
// so we need to duplicate some code from nsFrame::DisplayBorderBackgroundOutline
nsDisplayTableItem* item =
new (aBuilder) nsDisplayTableCellBackground(aBuilder, this);
aLists.BorderBackground()->AppendNewToTop(item);
item->UpdateForFrameBackground(this);
} else {
// The nsTablePainter will paint our background. Make sure it
// knows if we're background-attachment:fixed.