[php-src] PR #25212: Add regression test for GH-25210
| From: | phcorp | Date: | Thu, 05 Nov 2026 15:07:02 +0000 |
| Subject: | [php-src] PR #25212: Add regression test for GH-25210 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40325@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25212
Author: phcorp
GH-25210 reported that
querySelectorAll() returns an element once per matching selector
of a selector list, e.g. ul li, ol li. That was already fixed by GH-24260 (d1fdbbacfb),
but the test for that fix only covers class and :is() selector lists.
This adds a test for selector lists that use descendant and child combinators, run both from the
document and from an element. It fails on 8.5.12 and passes on PHP-8.4 at the current HEAD.
Test-only change; no NEWS entry.