[Pkg-mozext-commits] [firebug] 01/22: upload

David Prévot taffit at moszumanska.debian.org
Sat Jul 19 21:45:49 UTC 2014


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

taffit pushed a commit to branch master
in repository firebug.

commit d01960b3492c02e0041bbd955a075ab2a51d3249
Author: Edvard Rejthar <edvard at edvard-jezevec.(none)>
Date:   Fri May 30 19:17:46 2014 +0200

    upload
---
 extension/content/firebug/html/layout.js  | 7 ++++++-
 extension/locale/en-US/firebug.properties | 1 +
 extension/skin/classic/layout.css         | 6 +++++-
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/extension/content/firebug/html/layout.js b/extension/content/firebug/html/layout.js
index 8a85dbd..83e8a06 100644
--- a/extension/content/firebug/html/layout.js
+++ b/extension/content/firebug/html/layout.js
@@ -65,7 +65,10 @@ LayoutPanel.prototype = Obj.extend(Panel,
                             Locale.$STR("a11y.layout.box-sizing") + ": " + "$boxSizing"),
                         SPAN({"class": "layoutZIndex", $invisible: "$zIndex|isInvisible",
                                 "aria-label": Locale.$STR("a11y.layout.z-index")},
-                            "z: " + "$zIndex")
+                            "z: " + "$zIndex"), 	 
+                        SPAN({"class": "layoutDisplay layoutCaption", 	
+                                "aria-label": Locale.$STR("a11y.layout.display")},
+                            "display: " + "$display")
                     ),
 
                     DIV({"class": "layoutLabelTop layoutLabel",
@@ -335,6 +338,7 @@ LayoutPanel.prototype = Obj.extend(Panel,
 
         var position = style.getPropertyCSSValue("position").cssText;
         args.position = position;
+        args.display = style.getPropertyCSSValue("display").cssText;
         args.outerLabel = "";
 
         if (Xml.isElementSVG(element) || Xml.isElementMathML(element) || Xml.isElementXUL(element))
@@ -387,6 +391,7 @@ LayoutPanel.prototype = Obj.extend(Panel,
                 layoutBoxSizing: {label: Locale.$STR("a11y.layout.box-sizing"),
                     value: "boxSizing"},
                 layoutZIndex: {label: "z", value: "zIndex"},
+                layoutDisplay: {label: "display", value: "display"},
                 layoutLabelOuterTop: {value: "outerTop"},
                 layoutLabelOuterRight: {value: "outerRight"},
                 layoutLabelOuterBottom: {value: "outerBottom"},
diff --git a/extension/locale/en-US/firebug.properties b/extension/locale/en-US/firebug.properties
index 44dd642..e36ba1a 100644
--- a/extension/locale/en-US/firebug.properties
+++ b/extension/locale/en-US/firebug.properties
@@ -1354,6 +1354,7 @@ a11y.layout.width=width
 a11y.layout.height=height
 a11y.layout.size=size
 a11y.layout.z-index=z-index
+a11y.layout.display=display
 a11y.layout.box-sizing=box-sizing
 a11y.layout.clientBoundingRect=bounding client rect
 a11y.descriptions.press_enter_to_edit_values=Press Enter followed by Tab to edit individual values
diff --git a/extension/skin/classic/layout.css b/extension/skin/classic/layout.css
index 4a4a3d2..005211c 100644
--- a/extension/skin/classic/layout.css
+++ b/extension/skin/classic/layout.css
@@ -102,7 +102,8 @@
 
 .layoutLabelPosition,
 .layoutBoxSizing,
-.layoutZIndex {
+.layoutZIndex,
+.layoutDisplay {
     display: block;
 }
 
@@ -119,6 +120,9 @@
 .layoutZIndex {
     float: right;
 }
+.layoutDisplay {    
+    left: 90px;
+}
 
 .layoutLabelLeft {
     top: 50%;

-- 
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