 			expect(doc2.queryAll('[color*=bl]')).toEqual [doc2u]
 			expect(doc2.queryAll('[color*="lu"]')).toEqual [doc2u]
 			expect(doc2.queryAll('[color*=\'blue\']')).toEqual [doc2u]
+			expect(doc2.queryAll('[color*=bl][color*=lu]')).toEqual [doc2u]
 			expect(doc2.queryAll('[color*=lue1]')).toEqual []
 
 		it '*', ->

				expect(tags).toEqual [doc2u]

			it '[foo]', ->
				watcher = doc2div1.watch '[attr]'
				watcher.onAdd (tag) ->
					tags.push tag
				watcher.onRemove (tag) ->
					utils.remove tags, tag
				doc2u.attrs.set 'attr', '2'
				expect(tags).toEqual [doc2u]
				doc2u.attrs.set 'attr', undefined
				expect(tags).toEqual []

			it '[foo=bar]', ->

		expect(elem.stringify()).toBe '<b><em></em></b><u></u><p></p>'

	describe 'queryAll() works with selector', ->
		doc2 = Element.fromHTML "<div><b class='first second'><u color='blue' attr='1'><u></u></u></b></div><div attr='2'><neft:blank><em></em></neft:blank><em></em></div>"
		doc2div1 = doc2.children[0]
		doc2b = doc2div1.children[0]
		doc2u = doc2b.children[0]
