https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 8f1ef70886a1443ccd9980448031c88a44c3faea authored by Ben Pastene on 13 April 2018, 17:03:33 UTC
Revert "Reland: Use PostTask to schedule cross-process postMessage forwarding."
Tip revision: 8f1ef70
form_owner_and_table_3.html
<!doctype html>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<table><form><tr><td><input></table>
<div id=2></div>
<script>
test(() => {
  const input = document.querySelector("input"),
        form = document.querySelector("form");
  assert_equals(input.form, form);
  document.getElementById("2").appendChild(form.parentNode);
  assert_equals(input.form, form);
  document.getElementById("2").appendChild(input);
  assert_equals(input.form, null);
}, "parser inserted flag is not reset by insertions with the owner form, but reset by by removal from the owner form");
</script>
back to top