 					if style.node isnt tmpNode
 						item = item._parent
 
-				if tmpNode.name isnt 'neft:fragment'
-					tmpNode._documentStyle ?= @
+				unless tmpNode.name in ['neft:blank', 'neft:fragment', 'neft:use']
+					tmpNode._documentStyle ||= @
 
 				if item
 					@item.parent = item


	findItemIndex = (node, item, parent) ->
		tmpIndexNode = node
		parent = parent.children.target or parent
		while tmpIndexNode
			tmpSiblingNode = tmpIndexNode
			while tmpSiblingNode = tmpSiblingNode._nextSibling
				if tmpSiblingItem = tmpSiblingNode._documentStyle?.item
					if tmpSiblingTargetItem = findItemWithParent(tmpSiblingItem, parent)
						item.index = tmpSiblingTargetItem.index
						return

			# tmpSiblingNode = tmpIndexNode
			# while tmpSiblingNode = tmpSiblingNode._previousSibling
			# 	if tmpSiblingItem = tmpSiblingNode._documentStyle?.item
			# 		if tmpSiblingTargetItem = findItemWithParent(tmpSiblingItem, parent)
			# 			item.index = tmpSiblingTargetItem.index + 1
			# 			return
			if tmpIndexNode isnt node and tmpIndexNode.style
				return
			tmpIndexNode = tmpIndexNode._parent
		return

	findItemParent: ->
		if @waiting

			item

	updateText: ->
		if @waiting or @children.length or @node.query('[neft:style]')
			return

		obj = @getTextObject()
