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 300570 094a647ca9c259002607cea50b15538f79bda932
parent 300569 a43d99734390d98a6430d2e0900222651546456e
child 300571 367c7cce892f627ad7e1f1ceba0f04feb601522a
push id78005
push usercbook@mozilla.com
push dateMon, 06 Jun 2016 10:03:03 +0000
treeherdermozilla-inbound@817833957d08 [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 {