зеркало из https://github.com/mozilla/pjs.git
Bug 634232. Call WillEndTransaction/DidEndTransaction notifications for FrameLayerBuilder's temporary layer managers. r=tnikkel a=hardblocker
This commit is contained in:
Родитель
b6d41b8f21
Коммит
2e31a7c4e6
|
@ -1191,7 +1191,9 @@ PaintInactiveLayer(nsDisplayListBuilder* aBuilder,
|
||||||
SetVisibleRectForLayer(layer, itemVisibleRect);
|
SetVisibleRectForLayer(layer, itemVisibleRect);
|
||||||
|
|
||||||
tempManager->SetRoot(layer);
|
tempManager->SetRoot(layer);
|
||||||
|
aBuilder->LayerBuilder()->WillEndTransaction(tempManager);
|
||||||
tempManager->EndTransaction(FrameLayerBuilder::DrawThebesLayer, aBuilder);
|
tempManager->EndTransaction(FrameLayerBuilder::DrawThebesLayer, aBuilder);
|
||||||
|
aBuilder->LayerBuilder()->DidEndTransaction(tempManager);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<style>
|
||||||
|
.wackeddiv {
|
||||||
|
position: absolute;
|
||||||
|
left: 20px;
|
||||||
|
top: 20px;
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
border: 2px solid highlight;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.posabssemitransparentblack {
|
||||||
|
position:absolute;
|
||||||
|
left: 0px;
|
||||||
|
top: 50px;
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
background: lime;
|
||||||
|
opacity: 0.1;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="posabssemitransparentblack"></div>
|
||||||
|
<div class="wackeddiv"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,31 @@
|
||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<style>
|
||||||
|
.wackeddiv {
|
||||||
|
position: fixed;
|
||||||
|
left: 20px;
|
||||||
|
top: 20px;
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
border: 2px solid highlight;
|
||||||
|
background-color: transparent;
|
||||||
|
-moz-transform: rotate(90deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.posabssemitransparentblack {
|
||||||
|
position:absolute;
|
||||||
|
left: 0px;
|
||||||
|
top: 50px;
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
background: lime;
|
||||||
|
opacity: 0.1;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="posabssemitransparentblack"></div>
|
||||||
|
<div class="wackeddiv"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -1613,4 +1613,5 @@ random-if(winWidget) HTTP(..) == 621918-2.svg 621918-2-ref.svg # same 1px issue
|
||||||
== 631352-1.html 631352-1-ref.html
|
== 631352-1.html 631352-1-ref.html
|
||||||
fails-if(winWidget) == 632781-verybig.html 632781-ref.html # large canvas elements are not drawn on Windows, see bug 633936
|
fails-if(winWidget) == 632781-verybig.html 632781-ref.html # large canvas elements are not drawn on Windows, see bug 633936
|
||||||
== 632781-normalsize.html 632781-ref.html
|
== 632781-normalsize.html 632781-ref.html
|
||||||
|
== 634232-1.html 634232-1-ref.html
|
||||||
== 635302-1.html 635302-1-ref.html
|
== 635302-1.html 635302-1-ref.html
|
||||||
|
|
Загрузка…
Ссылка в новой задаче