﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27906	assertInHTML('<a/><b/>', '<a/><b/><c/>') fails	Michal Petrucha	Michal Petrucha	"As the title indicates, HTML substring search fails to find matches in the haystack if the needle consists of multiple sibling elements that do appear in the haystack with more siblings on the same level.

This is a follow-up to #24112, which fixed the simple case when the list of children of an element matches exactly the list of children of the needle.

A simple, but somewhat sub-optimal solution could be to use two nested loops to compare the children of `self` with the children of the root element; an optimal, but much more complex solution would be to implement a variant of KMP on the children of `self`."	Bug	assigned	Testing framework	dev	Normal				Unreviewed	0	0	0	0	0	0
