Re: Add Dom\Element::insertAdjacentHTML()
| From: | Gina P. Banyard | Date: | Thu, 31 Oct 2024 14:17:46 +0000 |
| Subject: | Re: Add Dom\Element::insertAdjacentHTML() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-125887@lists.php.net to get a copy of this message | ||
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: 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
Thank you for continuing to work on DOM/HTML support. :)
I think adding this is a no-brainer.
Best regards,
Gina P. Banyard