code: function isNonTextPartiallySelected(node, range) {
          return (node.nodeType != 3) &&
                 (dom.isAncestorOf(node, range.startContainer, true) || dom.isAncestorOf(node, range.endContainer, true));
      }
docs: /*---------------------------------------------------------------------------------------------------------------- Utility functions