 
 		assert.notOk @item
 
-		id = @node.getAttr 'neft:style'
-		assert.isString id
-
-		@isScope = ///^(styles|renderer)\:///.test id
+		if @node instanceof Tag
+			id = @node.getAttr 'neft:style'
+			assert.isString id
+			@isScope = ///^(styles|renderer)\:///.test id
+		else if @node instanceof Text
+			id = Renderer.Text.New emptyComponent
+			assert.isNotDefined @item
+
 		@item = null
 		@scope = null
-		@isAutoParent = false
 
 		if id instanceof Renderer.Item
 			@item = id
+			@isAutoParent = not id.parent
 		else if @isScope
 			@isAutoParent = true
 			if ///^styles\:///.test(id)

					else
						log.warn "Style file `#{id}` can't be find"
						return

		@node.style = @item


			attrs

		forNode = (file, node, parentStyle) ->
			isText = node instanceof Text
			if isText or (attr = node.getAttr('neft:style'))
				style = new Style
				style.file = file
				style.node = node
				style.parent = parentStyle
				style.attrs = not isText and getStyleAttrs node

				if parentStyle
					parentStyle.children.push style
