зеркало из https://github.com/mozilla/pjs.git
Bug 725535 - "ASSERTION: Only transformed frames should have UpdateTransformLayer hint". r=roc
This commit is contained in:
Родитель
e21c2993a1
Коммит
e91410ed43
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html style="-moz-transform-style: preserve-3d">
|
||||
<body>
|
||||
<script>
|
||||
document.addEventListener("MozReftestInvalidate", function() {document.documentElement.style.MozTransform = 'rotate(0)';}, false);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -349,3 +349,4 @@ load 698335.html
|
|||
needs-focus pref(accessibility.browsewithcaret,true) load 699353-1.html
|
||||
load 707098.html
|
||||
load 722137.html
|
||||
load 725535.html
|
||||
|
|
|
@ -7674,9 +7674,6 @@ DoApplyRenderingChangeToTree(nsIFrame* aFrame,
|
|||
"should only be called within ApplyRenderingChangeToTree");
|
||||
|
||||
for ( ; aFrame; aFrame = nsLayoutUtils::GetNextContinuationOrSpecialSibling(aFrame)) {
|
||||
NS_ASSERTION(!(aChange & nsChangeHint_UpdateTransformLayer) || aFrame->IsTransformed(),
|
||||
"Only transformed frames should have UpdateTransformLayer hint");
|
||||
|
||||
// Get view if this frame has one and trigger an update. If the
|
||||
// frame doesn't have a view, find the nearest containing view
|
||||
// (adjusting r's coordinate system to reflect the nesting) and
|
||||
|
@ -7718,6 +7715,9 @@ ApplyRenderingChangeToTree(nsPresContext* aPresContext,
|
|||
nsIFrame* aFrame,
|
||||
nsChangeHint aChange)
|
||||
{
|
||||
NS_ASSERTION(!(aChange & nsChangeHint_UpdateTransformLayer) || aFrame->IsTransformed(),
|
||||
"Only transformed frames should have UpdateTransformLayer hint");
|
||||
|
||||
nsIPresShell *shell = aPresContext->PresShell();
|
||||
if (shell->IsPaintingSuppressed()) {
|
||||
// Don't allow synchronous rendering changes when painting is turned off.
|
||||
|
|
Загрузка…
Ссылка в новой задаче