Backout bug 656749.

This commit is contained in:
Mounir Lamouri 2011-05-17 13:43:10 +02:00
parent 1d59b6f8fa
commit e093217c6b
2 changed files with 2 additions and 3 deletions

View File

@ -1466,8 +1466,8 @@ nsIFrame::BuildDisplayListForStackingContext(nsDisplayListBuilder* aBuilder,
nsRect absPosClip;
const nsStyleDisplay* disp = GetStyleDisplay();
// We can stop right away if this is a zero-opacity stacking context and
// we're painting.
if (disp->mOpacity == 0.0 && aBuilder->IsForPainting())
// we're not checking for event handling.
if (disp->mOpacity == 0.0 && !aBuilder->IsForEventDelivery())
return NS_OK;
PRBool applyAbsPosClipping =

View File

@ -99,7 +99,6 @@ _MOCHITEST_FILES = \
307-xo-redirect.sjs \
test_redirect_handling.html \
test_clear_site_data.html \
test_zero_opacity.html \
$(NULL)
# test_plugin_scroll_painting.html \ bug 596491