mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 674847 - Make tooltip suppression during tab drag not fragile. r=dao
This commit is contained in:
parent
baab248d05
commit
94c4236e6b
@ -63,10 +63,6 @@ tabbrowser {
|
|||||||
display: block; /* position:fixed already does this (bug 579776), but let's be explicit */
|
display: block; /* position:fixed already does this (bug 579776), but let's be explicit */
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tabs[drag] > .tabbrowser-tab {
|
|
||||||
pointer-events: none; /* suppress tooltips */
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabbrowser-tabs[drag] > .tabbrowser-tab[selected] {
|
.tabbrowser-tabs[drag] > .tabbrowser-tab[selected] {
|
||||||
z-index: 2; /* ensure selected tab stays on top despite -moz-transform */
|
z-index: 2; /* ensure selected tab stays on top despite -moz-transform */
|
||||||
}
|
}
|
||||||
|
@ -2456,7 +2456,7 @@
|
|||||||
<body><![CDATA[
|
<body><![CDATA[
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
var tab = document.tooltipNode;
|
var tab = document.tooltipNode;
|
||||||
if (tab.localName != "tab") {
|
if (tab.localName != "tab" || this.tabContainer.draggedTab) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user