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

<body>
<script>

function getParentElement() {
  let element = document.createElement('object');
  element['type'] = 'image/png';
  element['data'] = '/images/blue.png';
  document.body.appendChild(element);
  return element;
}

function setAttributes(instance, attribute, value) {
  instance.setAttribute(attribute, value);
}

testReflectAttributeWithDependentAttributes(
  'name', 'name', 'image1',
  'image2', 'name on HTMLParamElement', 'param',
  getParentElement, inst