зеркало из https://github.com/mozilla/gecko-dev.git
Bug 781053 - Part 3 - Force the throbber into it's own layer. r=roc
This commit is contained in:
Родитель
8570336fe7
Коммит
9d307cccc3
|
@ -3958,7 +3958,8 @@
|
|||
class="tab-content" align="center">
|
||||
<xul:image xbl:inherits="fadein,pinned,busy,progress,selected"
|
||||
class="tab-throbber"
|
||||
role="presentation"/>
|
||||
role="presentation"
|
||||
layer="true" />
|
||||
<xul:image xbl:inherits="validate,src=image,fadein,pinned,selected"
|
||||
class="tab-icon-image"
|
||||
role="presentation"/>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
var initialCount = win.mozPaintCount;
|
||||
|
||||
function nextStep() {
|
||||
if (win.mozPaintCount == initialCount) {
|
||||
if (win.mozPaintCount == initialCount || win.isMozAfterPaintPending) {
|
||||
SimpleTest.info("Waiting for mozPaintCount (= " + initialCount + ") to increase" + testInfo());
|
||||
// Do not use SimpleTest.executeSoon() here: give a little more time.
|
||||
setTimeout(nextStep, 100);
|
||||
|
|
Загрузка…
Ссылка в новой задаче