From e8cf48af6c225ca66fdbde58d9a783a5766a023a Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Sun, 2 Nov 2008 16:50:38 +0000 Subject: [PATCH] /tmp/cvsSeRn0i --- content/style.js | 1 + content/ui.js | 6 +++--- skin/liberator.css | 3 +++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/content/style.js b/content/style.js index 743162d8..f779a300 100644 --- a/content/style.js +++ b/content/style.js @@ -25,6 +25,7 @@ function Highlights(name, store, serial) MoreMsg color: green; background: white; WarningMsg color: red; background: white; Message white-space: normal; min-width: 100%; padding-left: 2em; text-indent: -2em; display: block; + NonText color: blue; min-height: 16px; padding-left: 2px; CompItem diff --git a/content/ui.js b/content/ui.js index 31269589..6170a5f5 100644 --- a/content/ui.js +++ b/content/ui.js @@ -1286,7 +1286,6 @@ function ItemList(id) //{{{ var endIndex = -1; // The index one *after* the last displayed item var selIndex = -1; // The index of the currently selected element var completionBody = null; - var completionElements = null; var minHeight = 0; function autoSize() @@ -1381,14 +1380,15 @@ function ItemList(id) //{{{
{ template.map(util.range(0, maxItems), function (i) - ) + ) }
; ; let dom = util.xmlToDom(div, doc); completionBody = dom.getElementsByClassName("hl-Completions")[0]; - completionElements = completionBody.childNodes; + //completionElements = completionBody.childNodes; + completionElements = dom.getElementsByClassName("hl-CompItem"); doc.body.replaceChild(dom, doc.body.firstChild); } diff --git a/skin/liberator.css b/skin/liberator.css index b76fd406..36f13a0a 100644 --- a/skin/liberator.css +++ b/skin/liberator.css @@ -55,6 +55,9 @@ the terms of any one of the MPL, the GPL or the LGPL. .hl-CompItem { display: table-row; } +.hl-Completions > ul { + display: table-row; +} .hl-CompItem > * { -moz-binding: url(chrome://liberator/content/bindings.xml#compitem-td); display: table-cell;