mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add oninput/onchange so tests work
This commit is contained in:
parent
e7ac792ed6
commit
e7b3caa386
15 changed files with 43 additions and 200 deletions
|
@ -633,8 +633,7 @@ impl<'a> Activatable for JSRef<'a, HTMLInputElement> {
|
|||
Some(o) => {
|
||||
// Avoiding iterating through the whole tree here, instead
|
||||
// we can check if the conditions for radio group siblings apply
|
||||
if name != None && // unless self no longer has a button group
|
||||
name == o.get_radio_group_name() && // TODO should be compatibility caseless
|
||||
if name == o.get_radio_group_name() && // TODO should be compatibility caseless
|
||||
self.form_owner() == o.form_owner() &&
|
||||
// TODO Both a and b are in the same home subtree
|
||||
o.input_type.get() == InputRadio {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue