Bug 656875 - Use the transformed dirty rectngle when building display list items for stacking context; r=roc

--HG--
extra : rebase_source : a98568046ab5e4b4382e380f0fd2d03be481edaa
This commit is contained in:
Ehsan Akhgari 2011-05-16 13:27:24 -04:00
parent 40e70f3284
commit fddd9ce5af
3 changed files with 14 additions and 1 deletions

View File

@ -1645,7 +1645,7 @@ nsIFrame::BuildDisplayListForStackingContext(nsDisplayListBuilder* aBuilder,
}
// Mark the display list items for absolutely positioned children
MarkAbsoluteFramesForDisplayList(aBuilder, aDirtyRect);
MarkAbsoluteFramesForDisplayList(aBuilder, dirtyRect);
nsDisplayListCollection set;
nsresult rv;

View File

@ -0,0 +1,12 @@
<!DOCTYPE html>
<div>test</div>
<style>
body {
width: 100px; height: 300px;
position: absolute;
-moz-transform: scale(0.5);
}
div { position: absolute; }
</style>

View File

@ -1655,6 +1655,7 @@ HTTP(..) == 654057-1.html 654057-1-ref.html
fails-if(layersGPUAccelerated&&cocoaWidget) == 654950-1.html 654950-1-ref.html # Quartz alpha blending doesn't match GL alpha blending
== 652775-1.html 652775-1-ref.html
== 655549-1.html 655549-1-ref.html
!= 656875.html about:blank
== 658952.html 658952-ref.html
== 664127-1.xul 664127-1-ref.xul
== 660682-1.html 660682-1-ref.html