[php-src] PR #18908: Add support for ParentNode::$children

From: Date: Sun, 22 Jun 2025 13:22:50 +0000
Subject: [php-src] PR #18908: Add support for ParentNode::$children
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-32138@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/18908 Author: nielsdos ParentNode::$children returns a HTMLCollection of all directly descendant child elements of a container. I had to move around some properties such that the ParentNode property offsets are always at a fixed offset, to simplify the code. This also adds the necessary code to deal with GC cycles in HTMLCollections. Furthermore, we also disable cloning a HTMLCollection as that never worked and furthermore it also conflicts with the [[SameObject]] WebIDL requirement of $children.

« previous php.git-pulls (#32138) next »