[php-src] PR #20283: Fix GH-20281: \Dom\Document::getElementById() is inconsistent after nodes are removed
| From: | nielsdos | Date: | Fri, 24 Oct 2025 19:18:21 +0000 |
| Subject: | [php-src] PR #20283: Fix GH-20281: \Dom\Document::getElementById() is inconsistent after nodes are removed | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33788@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20283
Author: nielsdos
This worked for non-parsed elements already, but not for elements where xmlAddID() returns early due
to the ID already existing. In that case what was missing is marking the attribute as an ID.