work-in-progress for select size=1. not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@111526 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -513,5 +513,22 @@
|
||||
|
||||
</binding>
|
||||
|
||||
<binding id="select"/>
|
||||
<binding id="select" extends="xul:menu">
|
||||
<content sizetopopup="true">
|
||||
<xul:label flex="1" value="Dummy" style="border: 1px solid red"/>
|
||||
<xul:dropmarker/>
|
||||
<xul:menupopup style="display:-moz-popup!important">
|
||||
<children/>
|
||||
</xul:menupopup>
|
||||
</content>
|
||||
</binding>
|
||||
|
||||
<binding id="select-option" extends="xul:menuitem">
|
||||
<content>
|
||||
<xul:label>
|
||||
<children/>
|
||||
</xul:label>
|
||||
</content>
|
||||
</binding>
|
||||
|
||||
</bindings>
|
||||
|
||||
@@ -46,6 +46,15 @@ select, select[size="1"] {
|
||||
-moz-binding: url("chrome://forms/content/select.xml#select");
|
||||
}
|
||||
|
||||
select[size] > option {
|
||||
-moz-binding: none;
|
||||
}
|
||||
|
||||
select > option,
|
||||
select[size="1"] > option {
|
||||
-moz-binding: url("chrome://forms/content/select.xml#select-option");
|
||||
}
|
||||
|
||||
/*
|
||||
* The following rules are copied from forms.css, for widgets that aren't yet
|
||||
* defined in XBL.
|
||||
|
||||
@@ -513,5 +513,22 @@
|
||||
|
||||
</binding>
|
||||
|
||||
<binding id="select"/>
|
||||
<binding id="select" extends="xul:menu">
|
||||
<content sizetopopup="true">
|
||||
<xul:label flex="1" value="Dummy" style="border: 1px solid red"/>
|
||||
<xul:dropmarker/>
|
||||
<xul:menupopup style="display:-moz-popup!important">
|
||||
<children/>
|
||||
</xul:menupopup>
|
||||
</content>
|
||||
</binding>
|
||||
|
||||
<binding id="select-option" extends="xul:menuitem">
|
||||
<content>
|
||||
<xul:label>
|
||||
<children/>
|
||||
</xul:label>
|
||||
</content>
|
||||
</binding>
|
||||
|
||||
</bindings>
|
||||
|
||||
@@ -46,6 +46,15 @@ select, select[size="1"] {
|
||||
-moz-binding: url("chrome://forms/content/select.xml#select");
|
||||
}
|
||||
|
||||
select[size] > option {
|
||||
-moz-binding: none;
|
||||
}
|
||||
|
||||
select > option,
|
||||
select[size="1"] > option {
|
||||
-moz-binding: url("chrome://forms/content/select.xml#select-option");
|
||||
}
|
||||
|
||||
/*
|
||||
* The following rules are copied from forms.css, for widgets that aren't yet
|
||||
* defined in XBL.
|
||||
|
||||
Reference in New Issue
Block a user