mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 393581 - "toolbar resizer visible in popups with only visible location bar" [p=florian r=gavin a=blocking-firefox3+]
This commit is contained in:
parent
f79a9b57ed
commit
611647d42a
@ -216,23 +216,26 @@
|
||||
"toolbarseparator");
|
||||
uniqueId = (new Date()).getTime()+this.childNodes.length;
|
||||
newItem.id = "separator" + uniqueId;
|
||||
newItem.className = "chromeclass-toolbar-additional";
|
||||
} else if (aId == "spring") {
|
||||
newItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
|
||||
"toolbarspring");
|
||||
uniqueId = (new Date()).getTime()+this.childNodes.length;
|
||||
newItem.flex = 1;
|
||||
newItem.id = "spring" + uniqueId;
|
||||
newItem.className = "chromeclass-toolbar-additional";
|
||||
} else if (aId == "spacer") {
|
||||
newItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
|
||||
"toolbarspacer");
|
||||
uniqueId = (new Date()).getTime()+this.childNodes.length;
|
||||
newItem.id = "spacer" + uniqueId;
|
||||
newItem.className = "chromeclass-toolbar-additional";
|
||||
} else if (aId == "splitter") {
|
||||
newItem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
|
||||
"splitter");
|
||||
uniqueId = (new Date()).getTime()+this.childNodes.length;
|
||||
newItem.id = "splitter" + uniqueId;
|
||||
newItem.className = "toolbar-splitter";
|
||||
newItem.className = "toolbar-splitter chromeclass-toolbar-additional";
|
||||
} else if (this.parentNode.localName == "toolbox") {
|
||||
// Attempt to locate an item with a matching id within palette.
|
||||
var paletteItem = this.parentNode.palette.firstChild;
|
||||
|
Loading…
Reference in New Issue
Block a user