mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 109164. Active Accessibility: state change events for checkboxes. r=jgaunt, sr=hyatt
This commit is contained in:
parent
10008e126f
commit
e5f14b70c3
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user