<script src="../resources/reactions.js"></script>

<body>
<script>

function getParentElement() {
  let element = document.createElement('select');
  document.body.appendChild(element);
  return element;
}

function setAttributes(instance) {
  instance.setAttribute('label', 'group1');
}

testReflectBooleanAttributeWithDependentAttributes(
  'disabled', 'disabled', 'disabled on HTMLOptGroupElement',
  'optgroup', getParentElement, instance => setAttributes(instance),
  HTMLOptGroupElement
);

testReflectAttr