Bug 109164. Active Accessibility: state change events for checkboxes. r=jgaunt, sr=hyatt

This commit is contained in:
aaronl%netscape.com 2001-12-11 21:28:11 +00:00
parent 10008e126f
commit e5f14b70c3

View File

@ -33,6 +33,9 @@
<!-- public implementation -->
<property name="checked" onset="if (val) this.setAttribute('checked', 'true');
else this.removeAttribute('checked');
var event = document.createEvent('Events');
event.initEvent('CheckboxStateChange', false, true);
this.dispatchEvent(event);
return val;"
onget="return this.hasAttribute('checked');"/>
</implementation>