зеркало из https://github.com/mozilla/pjs.git
Bug 727601 - "ASSERTION: Only transformed frames should have UpdateTransformLayer hint" with display:table. r=roc
This commit is contained in:
Родитель
213b675c72
Коммит
edfce0c2c5
|
@ -0,0 +1,3 @@
|
|||
<html style="display: table; -moz-transform: scalex(10);">
|
||||
<body><script>document.addEventListener("MozReftestInvalidate", function() {document.documentElement.style.MozTransform = 'scalex(20)';})</script></body>
|
||||
</html>
|
|
@ -350,3 +350,4 @@ needs-focus pref(accessibility.browsewithcaret,true) load 699353-1.html
|
|||
load 707098.html
|
||||
load 722137.html
|
||||
load 725535.html
|
||||
load 727601.html
|
||||
|
|
|
@ -7606,8 +7606,9 @@ ApplyRenderingChangeToTree(nsPresContext* aPresContext,
|
|||
nsIFrame* aFrame,
|
||||
nsChangeHint aChange)
|
||||
{
|
||||
NS_ASSERTION(!(aChange & nsChangeHint_UpdateTransformLayer) || aFrame->IsTransformed(),
|
||||
"Only transformed frames should have UpdateTransformLayer hint");
|
||||
NS_ASSERTION(!(aChange & nsChangeHint_UpdateTransformLayer) ||
|
||||
aFrame->GetStyleDisplay()->HasTransform(),
|
||||
"Only transform style should give a UpdateTransformLayer hint");
|
||||
|
||||
nsIPresShell *shell = aPresContext->PresShell();
|
||||
if (shell->IsPaintingSuppressed()) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче