зеркало из https://github.com/mozilla/gecko-dev.git
Bug 689934 - Transition on infobar during webpage scrolling in highlighter, r=msucan
This commit is contained in:
Родитель
8715d59775
Коммит
cc890613f8
|
@ -42,6 +42,9 @@
|
|||
|
||||
#highlighter-nodeinfobar-container {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#highlighter-nodeinfobar-container:not([locked]) {
|
||||
-moz-transition-property: top, left;
|
||||
-moz-transition-duration: 0.1s;
|
||||
-moz-transition-timing-function: linear;
|
||||
|
|
|
@ -1030,6 +1030,7 @@ InspectorUI.prototype = {
|
|||
this.inspecting = true;
|
||||
this.toolsDim(true);
|
||||
this.highlighter.veilContainer.removeAttribute("locked");
|
||||
this.highlighter.nodeInfo.container.removeAttribute("locked");
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -1054,6 +1055,7 @@ InspectorUI.prototype = {
|
|||
this.select(null, true, true);
|
||||
}
|
||||
this.highlighter.veilContainer.setAttribute("locked", true);
|
||||
this.highlighter.nodeInfo.container.setAttribute("locked", true);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче