From 70ac2cc38d07c2cc5a978e6f317a6da224943dc8 Mon Sep 17 00:00:00 2001 From: "hewitt%netscape.com" Date: Fri, 30 Jun 2006 07:28:58 +0000 Subject: [PATCH] 63246 - global stylesheet scoping, r=jag/blake, sr=hyatt git-svn-id: svn://10.0.0.236/trunk@201326 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/suite/common/bindings/toolbar.xml | 264 ++++++++++++++++++++++ 1 file changed, 264 insertions(+) create mode 100644 mozilla/suite/common/bindings/toolbar.xml diff --git a/mozilla/suite/common/bindings/toolbar.xml b/mozilla/suite/common/bindings/toolbar.xml new file mode 100644 index 00000000000..4023dba8804 --- /dev/null +++ b/mozilla/suite/common/bindings/toolbar.xml @@ -0,0 +1,264 @@ + + + + + + + + + + + + + + + + + + + + + + + + this.init(event); + + + + + + + + + + + + + + + + + + + + + + + + + + + + 20 ? boxObject.height : 23; + var height = boxObject.width > 10 ? boxObject.width : 12; + var styleString = "width: " + width + "px; height: " + height + "px;"; + collapsedGrippy.setAttribute("style", styleString); + collapsedGrippy.setAttribute("tooltip", aToolbar.getAttribute("grippytooltip")); + collapsedGrippy.setAttribute("tooltiptext", aToolbar.getAttribute("grippytooltiptext")); + collapsedGrippy.setAttribute("id", "moz_tb_collapsed_" + aToolbar.id); + collapsedGrippy.collapsed = true; + collapsedGrippy.setAttribute("tbgrippy-collapsed", "true"); + var collapsedTrayHolder = this.findNodeByAttribute("tbattr", "collapsed-tray-holder"); + if (collapsedTrayHolder.getAttribute("moz-collapsed") == "true") + collapsedTrayHolder.removeAttribute("moz-collapsed"); + this.findNodeByAttribute("tbattr", "collapsed-tray").appendChild(collapsedGrippy); + collapsedGrippy = document.getElementById("moz_tb_collapsed_" + aToolbar.id); + } + } + catch (e) { + throw e; + } + ]]> + + + + + + + + + + + + + return this.getAttribute("deferattached"); + + + this.setAttribute("deferattached", val); + return val; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + return this.getAttribute("moz_grippy_collapsed"); + + + this.setAttribute("moz_grippy_collapsed", val); + return val; + + + + + + + + + + + + + + + + + + + + + + + + + + + +