This is a testharness.js-based test. [FAIL] attributeChangedCallback gives the element a parent before it is inserted assert_equals: the custom element stayed where the callback put it expected Element node