Add Dom\Element::insertAdjacentHTML()
| From: | Niels Dossche | Date: | Mon, 28 Oct 2024 20:21:56 +0000 |
| Subject: | Add Dom\Element::insertAdjacentHTML() | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-125871@lists.php.net to get a copy of this message | ||
Hi internals
I'd like to add the Dom\Element::insertAdjacentHTML() DOM API from the WHATWG DOM spec to our
DOM extension.
PR link: https://github.com/php/php-src/pull/16614
It uses the same underlying infrastructure as $innerHTML and $outerHTML; it's the HTML
counterpart of the existing Dom\Element::insertAdjacent(Element|Text) functions.
Just asking here if anyone objects to the patch.
Kind regards
Niels