diff --git a/xpfe/global/resources/skin/MANIFEST_CHROME b/xpfe/global/resources/skin/MANIFEST_CHROME
index 83729290b93c..56b9f2b05e0c 100644
--- a/xpfe/global/resources/skin/MANIFEST_CHROME
+++ b/xpfe/global/resources/skin/MANIFEST_CHROME
@@ -1,4 +1,5 @@
xul.css
xulBindings.xml
menulistBindings.xml
-htmlBindings.xml
\ No newline at end of file
+htmlBindings.xml
+radioBindings.xml
diff --git a/xpfe/global/resources/skin/Makefile.in b/xpfe/global/resources/skin/Makefile.in
index 1a332cef4cb4..a910e8e6573f 100644
--- a/xpfe/global/resources/skin/Makefile.in
+++ b/xpfe/global/resources/skin/Makefile.in
@@ -35,6 +35,7 @@ endif
EXPORT_CHROME = xul.css \
htmlBindings.xml \
xulBindings.xml \
+ radioBindings.xml \
menulistBindings.xml \
$(NULL)
diff --git a/xpfe/global/resources/skin/makefile.win b/xpfe/global/resources/skin/makefile.win
index ca6becdc5614..514821cb16dc 100644
--- a/xpfe/global/resources/skin/makefile.win
+++ b/xpfe/global/resources/skin/makefile.win
@@ -30,6 +30,7 @@ include <$(DEPTH)\config\rules.mak>
install::
$(MAKE_INSTALL) htmlBindings.xml $(DISTXUL)
$(MAKE_INSTALL) xulBindings.xml $(DISTXUL)
+ $(MAKE_INSTALL) radioBindings.xml $(DISTXUL)
$(MAKE_INSTALL) menulistBindings.xml $(DISTXUL)
$(MAKE_INSTALL) xul.css $(DISTXUL)
@@ -37,5 +38,6 @@ clobber::
$(RM) $(DISTXUL)\htmlBindings.xml
$(RM) $(DISTXUL)\xulBindings.xml
$(RM) $(DISTXUL)\menulistBindings.xml
+ $(RM) $(DISTXUL)\radioBindings.xml
$(RM) $(DISTXUL)\xul.css
diff --git a/xpfe/global/resources/skin/radioBindings.xml b/xpfe/global/resources/skin/radioBindings.xml
new file mode 100644
index 000000000000..94201e97b690
--- /dev/null
+++ b/xpfe/global/resources/skin/radioBindings.xml
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
+
+ dump("*** this.checked = " + this.checked + "\n");
+ if( !this.checked ) this.checked = true;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ try
+ {
+ if( event.target.nodeName == "radio" )
+ this.selectedItem = event.target;
+ }
+ catch(e)
+ {
+ }
+
+
+ try
+ {
+ if( event.target.nodeName == "radio" )
+ this.selectedItem = event.target;
+ }
+ catch(e)
+ {
+ }
+
+
+
+
+
\ No newline at end of file
diff --git a/xpfe/global/resources/skin/xul.css b/xpfe/global/resources/skin/xul.css
index bd7e233c7dbb..263015556615 100644
--- a/xpfe/global/resources/skin/xul.css
+++ b/xpfe/global/resources/skin/xul.css
@@ -264,21 +264,15 @@ checkbox {
behavior: url(resource:/chrome/xulBindings.xml#checkbox);
}
-checkbox.iconic {
- behavior: url(resource:/chrome/xulBindings.xml#checkbox-iconic);
-}
+radio
+ {
+ behavior : url(resource:/chrome/radioBindings.xml#radio);
+ }
-radio {
- behavior: url(resource:/chrome/xulBindings.xml#radio);
-}
-
-radio.iconic {
- behavior: url(resource:/chrome/xulBindings.xml#radio-iconic);
-}
-
-radiogroup {
- behavior: url(resource:/chrome/xulBindings.xml#radiogroup);
-}
+radiogroup
+ {
+ behavior : url(resource:/chrome/radioBindings.xml#radiogroup);
+ }
button, button.left {
behavior: url(resource:/chrome/xulBindings.xml#buttonleft);
diff --git a/xpfe/global/resources/skin/xulBindings.xml b/xpfe/global/resources/skin/xulBindings.xml
index 2097359ecc12..437e5b6799db 100644
--- a/xpfe/global/resources/skin/xulBindings.xml
+++ b/xpfe/global/resources/skin/xulBindings.xml
@@ -176,9 +176,12 @@
-
+
-
+
+
+
+
@@ -195,105 +198,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-