A class declares static formAssociated = true and calls this.attachInternals() in its constructor. Which set of lifecycle reactions does the engine ONLY invoke for form-associated custom elements (and never for a plain custom element)?
class XInput extends HTMLElement {
static formAssociated = true;
#internals = this.attachInternals();
}