File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/bunit/EventDispatchExtensions Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -212,9 +212,10 @@ private static bool TryGetParentFormElementSpecialCase(
212212 return formByOwner ;
213213 }
214214
215- // If GetElementById didn't work (which can happen with Blazor's incremental DOM rendering),
216- // traverse up the DOM tree to find a common ancestor and search its children
217- // This handles cases where the button and form are siblings or in different subtrees
215+ // If GetElementById didn't work (which can happen when AngleSharp's document ID indexing
216+ // doesn't include all elements), traverse up the DOM tree to find a common ancestor
217+ // and search its children. This handles cases where the button and form are siblings
218+ // or in different subtrees.
218219 var current = element . Parent as IElement ;
219220 while ( current is not null )
220221 {
You can’t perform that action at this time.
0 commit comments