Bug 1276686 - Prevent selection when tapping on reader mode toolbar. r=margaret
authorRay Lin <ralin@mozilla.com>
Fri, 03 Jun 2016 22:38:39 +0800
changeset 339368 094a647ca9c259002607cea50b15538f79bda932
parent 339367 a43d99734390d98a6430d2e0900222651546456e
child 339369 367c7cce892f627ad7e1f1ceba0f04feb601522a
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs1276686
milestone49.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 1276686 - Prevent selection when tapping on reader mode toolbar. r=margaret MozReview-Commit-ID: 9A4aZBUTKf6
mobile/android/themes/core/aboutReaderControls.css
--- a/mobile/android/themes/core/aboutReaderControls.css
+++ b/mobile/android/themes/core/aboutReaderControls.css
@@ -119,16 +119,17 @@
   width: calc(100% - 30px);
   margin: 15px;
   z-index: 1000;
   background: #EBEBF0;
   visibility: hidden;
   border: 0;
   border-radius: 4px;
   box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.40);
+  -moz-user-select: none;
 }
 
 /* Only used on desktop */
 .dropdown-popup > hr,
 .dropdown-arrow,
 #font-type-buttons > button > .name,
 #content-width-buttons,
 #line-height-buttons {