[Pkg-mozext-commits] [firebug] 59/68: Allow ::-moz-placeholder (issue 6281) and ::-moz-selection pseudo-element rules to be displayed

David Prévot taffit at moszumanska.debian.org
Mon Mar 31 22:45:55 UTC 2014


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

taffit pushed a commit to tag fbtest-1.11.4
in repository firebug.

commit c3b92bf862e26b5259fb4ce581f7cc3643f3c337
Author: Sebastian Zartner <sebastianzartner at gmail.com>
Date:   Tue May 21 00:27:19 2013 +0200

    Allow ::-moz-placeholder (issue 6281) and ::-moz-selection
    pseudo-element rules to be displayed
---
 extension/content/firebug/css/stylePanel.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/extension/content/firebug/css/stylePanel.js b/extension/content/firebug/css/stylePanel.js
index aaf71e3..aef6ec4 100644
--- a/extension/content/firebug/css/stylePanel.js
+++ b/extension/content/firebug/css/stylePanel.js
@@ -225,7 +225,9 @@ CSSStylePanel.prototype = Obj.extend(CSSStyleSheetPanel.prototype,
     {
         function filterMozPseudoElements(pseudoElement)
         {
-            return !Str.hasPrefix(pseudoElement, "::-moz");
+            return !Str.hasPrefix(pseudoElement, "::-moz") ||
+                pseudoElement == "::-moz-placeholder" ||
+                pseudoElement == "::-moz-selection";;
         }
 
         var pseudoElements = [""];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git



More information about the Pkg-mozext-commits mailing list