isCompatibleForMerge method
Returns true if other is compatible to call merge.
Implementation
@override
bool isCompatibleForMerge(DOMNode other) {
  if (other is DOMElement) {
    if (tag == other.tag) {
      return getAttributesSignature() == other.getAttributesSignature();
    }
  }
  return false;
}