From c8099fcfd30cfb0496f66857ceb493a347f053bf Mon Sep 17 00:00:00 2001 From: Victor Porof Date: Thu, 10 May 2012 20:59:55 +0300 Subject: [PATCH] Bug 753651 - Unselectable class is useless; r=past --- browser/devtools/debugger/debugger-view.js | 8 +++----- browser/devtools/debugger/debugger.css | 9 --------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/browser/devtools/debugger/debugger-view.js b/browser/devtools/debugger/debugger-view.js index bf16b974f1c..6f37a68b123 100644 --- a/browser/devtools/debugger/debugger-view.js +++ b/browser/devtools/debugger/debugger-view.js @@ -850,8 +850,7 @@ PropertiesView.prototype = { let value = document.createElement("span"); let title = element.getElementsByClassName("title")[0]; - // Separator shouldn't be selectable. - separator.className = "unselectable"; + // Separator between the variable name and its value. separator.textContent = ": "; // The variable information (type, class and/or value). @@ -1075,8 +1074,7 @@ PropertiesView.prototype = { value.textContent = propertyString; value.classList.add(propertyColor); - // Separator shouldn't be selected. - separator.className = "unselectable"; + // Separator between the variable name and its value. separator.textContent = ": "; if ("undefined" !== typeof pKey) { @@ -1332,7 +1330,7 @@ PropertiesView.prototype = { arrow.style.visibility = "hidden"; // The name element. - name.className = "name unselectable"; + name.className = "name"; name.textContent = aName || ""; // The title element, containing the arrow and the name. diff --git a/browser/devtools/debugger/debugger.css b/browser/devtools/debugger/debugger.css index 771bb383ca3..d139aecf8db 100644 --- a/browser/devtools/debugger/debugger.css +++ b/browser/devtools/debugger/debugger.css @@ -134,12 +134,3 @@ display: inline-block; vertical-align: middle; } - -/** - * Display helpers - */ - -.unselectable { - -moz-user-select: -moz-none; - cursor: default; -}