Bug 409636 - "autocomplete-richlistitem binding creates superfluous vbox" [p=dao@mozilla.com (Dão Gottwald) r=Neil a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@242283 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5d9db55b68
commit
f5b8b5f44e
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user