don't draw a focus rect around radio buttons when the radio group isn't focused.

This commit is contained in:
ben%netscape.com 2000-09-02 05:26:42 +00:00
parent 94f8efc148
commit 4d9cb1414d

View File

@ -34,7 +34,8 @@
<setter>
<![CDATA[
var aDOMElement = val;
val.setAttribute("focused", "true");
if (this.getAttribute("focused") == "true")
val.setAttribute("focused", "true");
this.data = aDOMElement.data;
aDOMElement.checked = true;
@ -131,9 +132,11 @@
it is not (Windows platform behaviour is for the group to receive focus,
not the item -->
<handler event="focus">
this.setAttribute("focused", "true");
this.selectedItem.setAttribute("focused", "true");
</handler>
<handler event="blur">
this.removeAttribute("focused");
this.selectedItem.removeAttribute("focused");
</handler>
</handlers>