code: function isBlockNode(node) {
  	return node
  		&& ((node.nodeType == Node.ELEMENT_NODE && ["inline", "inline-block", "inline-table", "none"].indexOf(getComputedStyle(node).display) == -1)
  		|| node.nodeType == Node.DOCUMENT_NODE
  		|| node.nodeType == Node.DOCUMENT_FRAGMENT_NODE);
  }
docs: "A block node is either an Element whose "display" property does not have resolved value "inline" or "inline-block" or "inline-table" or "none", or a Document, or a DocumentFragment."