ionA.selected, "A STILL selected after it is moved back in");
  assert_true(optionB.selected, "B STILL selected after third move");
  assert_false(optionC.selected, "C no longer selected after third move");
}, "Option selectedness is updated on option and optgroup DOM moves");
</script>
