[Pkg-javascript-commits] [pdf.js] 54/139: Prevent text selection in Presentation Mode (bug 1018882)

David Prévot taffit at moszumanska.debian.org
Fri Jan 9 21:18:26 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 86309faf3cab87896527bcd217e320b6504b4289
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Fri Nov 7 12:02:48 2014 +0100

    Prevent text selection in Presentation Mode (bug 1018882)
---
 web/viewer.css | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/web/viewer.css b/web/viewer.css
index 856a0c8..4fbe084 100644
--- a/web/viewer.css
+++ b/web/viewer.css
@@ -55,6 +55,7 @@ select {
   height: 100%;
   overflow: hidden;
   cursor: none;
+  -webkit-user-select: none;
 }
 
 #viewerContainer:-moz-full-screen {
@@ -65,6 +66,7 @@ select {
   height: 100%;
   overflow: hidden;
   cursor: none;
+  -moz-user-select: none;
 }
 
 #viewerContainer:-ms-fullscreen {
@@ -74,6 +76,7 @@ select {
   height: 100%;
   overflow: hidden !important;
   cursor: none;
+  -ms-user-select: none;
 }
 
 #viewerContainer:-ms-fullscreen::-ms-backdrop {
@@ -88,6 +91,9 @@ select {
   height: 100%;
   overflow: hidden;
   cursor: none;
+  -webkit-user-select: none;
+  -moz-user-select: none;
+  -ms-user-select: none;
 }
 
 :-webkit-full-screen a:not(.internalLink) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list