Hi internals
I'd like to add the Dom\Element::insertAdjacentHTML() DOM API from the WHATWG DOM spec to our DOM extension.
PR link: Add Dom\Element::insertAdjacentHTML() by nielsdos · Pull Request #16614 · php/php-src · GitHub
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
On Monday, 28 October 2024 at 20:21, Niels Dossche <dossche.niels@gmail.com> wrote:
Hi internals
I'd like to add the Dom\Element::insertAdjacentHTML() DOM API from the WHATWG DOM spec to our DOM extension.
PR link: Add Dom\Element::insertAdjacentHTML() by nielsdos · Pull Request #16614 · php/php-src · GitHub
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
Thank you for continuing to work on DOM/HTML support. 
I think adding this is a no-brainer.
Best regards,
Gina P. Banyard