docs: public final void setParent(ElementBase parent) {
          ElementBase oldParent = this.parent;
          
          if (oldParent == parent) {
              return;
          }
          
          if (oldParent != null) {
              oldParent.removeChild(this, false);
          }
          
          if (parent != null) {
              parent.addChild(this);
          }
      }