ndChild(container);
  container.innerHTML = '<fieldset disabled><my-control></my-control></fieldset>';

  const control = container.querySelector('my-control');
  control.setAttribute('disabled', '');
  control.removeAttribute('disabled');
  assert_array_equals(control.disabledHistory(), [true]);
}, 'Toggling "disabled" attribute on a custom element inside disabled <fieldset> does not trigger a callback');

test(() => {
  const container = document.createElement('div');
  document.body.appendChild(container