Source code

Revision control

Copy as Markdown

Other Tools

[class-prefix-selector-queryselector.tentative.html]
[querySelectorAll(".foo-*") returns matching elements in document order and excludes non-matches (foobar, foo-)]
expected: FAIL
[querySelector(".foo-*") returns the first matching element in document order]
expected: FAIL
[querySelectorAll with a selector list containing a class prefix selector does not duplicate an element that matches more than one branch]
expected: FAIL
[Element.closest() finds an ancestor via the class prefix selector]
expected: FAIL
[Element.closest() matches the element itself first]
expected: FAIL
[Element.closest() returns null when no ancestor matches the class prefix selector]
expected: FAIL