Bug 970013 - prevent pointer-events on bookmarks menu button while animating to avoid it moving into the overflow panel, r=jaws
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Thu, 06 Mar 2014 18:31:38 -0500
changeset 189655 d76054e2a3222d486c2b3483a574a845db46eab6
parent 189654 867cc82f5fa77d868f30fa6703a35cbcb9fd65c1
child 189656 2f7dfb5095f1d01a0d5bebe599b0c3d48aad739d
push id3503
push userraliiev@mozilla.com
push dateMon, 28 Apr 2014 18:51:11 +0000
treeherdermozilla-beta@c95ac01e332e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs970013
milestone30.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 970013 - prevent pointer-events on bookmarks menu button while animating to avoid it moving into the overflow panel, r=jaws
browser/themes/linux/browser.css
browser/themes/osx/browser.css
browser/themes/windows/browser.css
--- a/browser/themes/linux/browser.css
+++ b/browser/themes/linux/browser.css
@@ -169,16 +169,20 @@ toolbarpaletteitem[place="palette"] > #p
   animation: animation-bookmarkAdded 800ms;
   animation-timing-function: ease, ease, ease;
 }
 
 #bookmarked-notification-anchor[notification="finish"][in-bookmarks-toolbar=true] > #bookmarked-notification {
   animation: animation-bookmarkAddedToBookmarksBar 800ms;
 }
 
+#bookmarks-menu-button[notification="finish"] {
+  pointer-events: none;
+}
+
 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
   animation: animation-bookmarkPulse 300ms;
   animation-delay: 600ms;
   animation-timing-function: ease-out;
 }
 
 /* Bookmark menus */
 menu.bookmark-item,
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -409,16 +409,20 @@ toolbarpaletteitem[place="palette"] > #p
 }
 
 @media (min-resolution: 2dppx) {
   #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
     background-image: url("chrome://browser/skin/places/bookmarks-notification-finish@2x.png");
   }
 }
 
+#bookmarks-menu-button[notification="finish"] {
+  pointer-events: none;
+}
+
 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
   animation: animation-bookmarkPulse 300ms;
   animation-delay: 600ms;
   animation-timing-function: ease-out;
 }
 
 /* ----- BOOKMARK MENUS ----- */
 
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -359,16 +359,20 @@ toolbarpaletteitem[place="palette"] > #p
 }
 
 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
   background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
   animation: animation-bookmarkAdded 800ms;
   animation-timing-function: ease, ease, ease;
 }
 
+#bookmarks-menu-button[notification="finish"] {
+  pointer-events: none;
+}
+
 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
   animation: animation-bookmarkPulse 300ms;
   animation-delay: 600ms;
   animation-timing-function: ease-out;
 }
 
 /* ::::: bookmark menus ::::: */