Bug 409636 - "autocomplete-richlistitem binding creates superfluous vbox" [p=dao@mozilla.com (D��o Gottwald) r=Neil a1.9=schrep]

This commit is contained in:
reed%reedloden.com 2008-01-03 05:52:37 +00:00
Родитель c87f436708
Коммит 6c3fce1794
3 изменённых файлов: 22 добавлений и 22 удалений

Просмотреть файл

@ -1076,36 +1076,34 @@
<binding id="autocomplete-richlistitem" extends="chrome://global/content/bindings/richlistbox.xml#richlistitem">
<content>
<xul:vbox>
<xul:hbox align="center">
<xul:image xbl:inherits="src=image" class="ac-site-icon"/>
<xul:hbox anonid="title-box" class="ac-title">
<xul:hbox align="center">
<xul:image xbl:inherits="src=image" class="ac-site-icon"/>
<xul:hbox anonid="title-box" class="ac-title">
# note, we rely on the newlines here so that we have
# a textNode before and after the span. see _setUpDescription()
# for more details
<xul:description anonid="title" class="ac-normal-text ac-comment" xbl:inherits="selected">
<html:span class="ac-emphasize-text"/>
</xul:description>
</xul:hbox>
<xul:label anonid="title-overflow-ellipsis" xbl:inherits="selected"
class="ac-ellipsis-after ac-comment"/>
<xul:image anonid="type-image" class="ac-type-icon"/>
<xul:description anonid="title" class="ac-normal-text ac-comment" xbl:inherits="selected">
<html:span class="ac-emphasize-text"/>
</xul:description>
</xul:hbox>
<xul:hbox align="center">
<xul:spacer class="ac-site-icon"/>
<xul:hbox anonid="url-box" class="ac-url">
<xul:label anonid="title-overflow-ellipsis" xbl:inherits="selected"
class="ac-ellipsis-after ac-comment"/>
<xul:image anonid="type-image" class="ac-type-icon"/>
</xul:hbox>
<xul:hbox align="center">
<xul:spacer class="ac-site-icon"/>
<xul:hbox anonid="url-box" class="ac-url">
# note, we rely on the newlines here so that we have
# a textNode before and after the span. see _setUpDescription()
# for more details
<xul:description anonid="url" class="ac-normal-text ac-url-text" xbl:inherits="selected">
<html:span class="ac-emphasize-text"/>
</xul:description>
</xul:hbox>
<xul:label anonid="url-overflow-ellipsis" xbl:inherits="selected"
class="ac-ellipsis-after ac-url-text"/>
<xul:spacer class="ac-type-icon"/>
<xul:description anonid="url" class="ac-normal-text ac-url-text" xbl:inherits="selected">
<html:span class="ac-emphasize-text"/>
</xul:description>
</xul:hbox>
</xul:vbox>
<xul:label anonid="url-overflow-ellipsis" xbl:inherits="selected"
class="ac-ellipsis-after ac-url-text"/>
<xul:spacer class="ac-type-icon"/>
</xul:hbox>
</content>
<implementation implements="nsIDOMXULSelectControlItemElement">
<constructor>

Просмотреть файл

@ -142,6 +142,7 @@ treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) {
}
.autocomplete-richlistitem {
-moz-box-orient: vertical;
overflow:-moz-hidden-unscrollable;
padding: 1px 0px 1px 2px;
border-bottom: 1px solid ThreeDShadow;

Просмотреть файл

@ -242,6 +242,7 @@ treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) {
}
.autocomplete-richlistitem {
-moz-box-orient: vertical;
overflow:-moz-hidden-unscrollable;
padding: 1px 0px 1px 2px;
border-bottom: 1px solid ThreeDShadow;