);
  assert_equals(getComputedStyle(select2).appearance,'base-select','appearance should be back to base-select');
},'The select picker is closed if the ::picker() appearance value is changed via CSS while the picker is open');

promise_test(async (t) => {
  assert_false(select2.matches(':open'),'setup');
  assert_equals(select2.className,'');
  assert_equals(getComputedStyle(select2).appearance,'base-select');
  await clickOn(select2);
  assert_true(select2.matches(':open'),'picker should open when clicked