       }
          }
          el.invalid = false;
        }

        this.fire('iron-form-reset');
      }, 1);
    },

    /**
     * Returns true if `node` is in the shadow DOM of a different element,
     * that has also implemented IronFormElementBehavior and is registered
     * to this form.
     */
    _isChildOfRegisteredParent: function(node) {
      var parent = node;

      // At some point going up the tree we'll find either this form or the document.
      while (parent && parent !== document 