Harness status: OK

Found 14 tests

14 Pass
Pass	Exact match with navigator.language renders the element
Pass	Case-insensitive exact match renders the element
Pass	Non-matching language tag does not render
Pass	Empty systemLanguage evaluates to false
Pass	Absent systemLanguage evaluates to true
Pass	Comma-separated list with matching tag first renders
Pass	Comma-separated list with matching tag second renders
Pass	Comma-separated list with matching tag in the middle renders
Pass	Comma-separated list with no matching tag does not render
Pass	BCP 47 prefix matching: user language prefix matches listed tag with extra subtag
Pass	switch element: first matching child renders, others do not
Pass	switch element: skips non-matching, renders first match
Pass	switch element: fallback child without systemLanguage renders when no match
Pass	switch element: nothing renders when no child matches and no fallback