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

<video controls id='video' width='5' height='5'></video>
<picture id='pic'>
  <img src='/images/green-1x1.png'>
</picture>
<body>
<script>

function getParentElement(id) {
  let element = document.getElementById(id);
  return element;
}

testReflectAttributeWithParentNode(
  'src', 'src', '/media/video.ogv',
  '/media/white.mp4', 'src on HTMLSourceElement', 'source',
  () => getParentElement('video'), HTMLSourceElement
);
testReflectAttributeWithD