Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125871 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 5CFBE1A00BD for ; Mon, 28 Oct 2024 20:21:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1730147030; bh=o8c2TSPY/kNch6afSAg+XS7fP/QfNc0FYfJxSv4uIxk=; h=Date:To:From:Subject:From; b=Js1mwVYN8WyOPd4cLinOe3fmtGFanWOVDMVLP25ODnVLLxArUVq9syy/UEaJbG1wP klpl7ZKGbz7XcCv4C6F4zLM0fvfDUtk4jSRK5cCvQkjqYAWhVLv/2zMPZBmCZq1Cox 09OidWByRGzTJybX12QDOHOwb/y6mJiBlV85RKee1ggKQh5CCkSW7Mg00Gj/QnXnnC RHWvANKekYvy6/vXVotQH+zvMdEAgBwBBNKZXgZaGxK9nwtwFNnONtvGY4kjmIajzy 2I3AUlDPWzrTlEzcX557gNEIariNaCQ1aSOBFBVsFMxNfDmuAAPi555MoKDTRrScRf 1bS2Tp70VUbaw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2E762180077 for ; Mon, 28 Oct 2024 20:23:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 28 Oct 2024 20:23:49 +0000 (UTC) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4315f24a6bbso46081665e9.1 for ; Mon, 28 Oct 2024 13:21:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730146881; x=1730751681; darn=lists.php.net; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=o8c2TSPY/kNch6afSAg+XS7fP/QfNc0FYfJxSv4uIxk=; b=Jy65wCFRRHlB8U6ZDsiEhVeU9xxlh2tvt2vUIndciGrskxnZQCAqNxcGJYn/FcN9kt qLXWKqkvaCLWRkFtI4Gv2EfGvIjfFrUjllO05hRx0acvNwgQ/b+Y6cBZZjLfsy3wlVMW 6Pymy4SUn6tVNqgeHoX06Hk5U13bAovRYwq77g++MW/fvs7fKJux5w98+xYsMo4TKO19 We/rM+YlI1PT0nzrSws0CFQjElfQtt4zGwIBFascE88x6QSQYdZdiIxoHM+4BLzoNiSZ 78anIuw1juPUU56Ry3Lbw5cmqWHXRy6pvsmSLQ4m9QiWgEHFJr4mQpYgZGqrNpmtFWuP nNgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730146881; x=1730751681; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=o8c2TSPY/kNch6afSAg+XS7fP/QfNc0FYfJxSv4uIxk=; b=v857a5qXA+lENR8Chgb0JZCGeiTWpTaHmoAM8vW9tnAwO58M76K3tk+jzZ3CbhbBIC FLax4UdbazUWUtDgT+wckb1xRCgDY4plfJuAyJvb05HjejnkRgMl/EhbksyYnXdZYI2I ajK4XiuNlihj/2Y6cAQ+VRWSFhrQjSyTas2XMe3IHex3BnEzygPWiFYQmHxYMuoDbVnY EKeaJSU4iE6+WAlgPS7g00hFX97YKLMSrD3jx4GN6NtofYd40dAXRMg7AATlYEG04/hl zFqSskSGPOJK7/+sv8B6fN0h7TIIvL1pHnJUBs9ndMd/r4pq1uJX/MQEq+Sw3gmLtjj1 vm5Q== X-Gm-Message-State: AOJu0YyOKA8i34qg/LYRPXNpEq5mshVuwQxAEaH2mJ9E5vuEyzk6I+W7 u2waqWbK8oXRbDKL6qZn3EfEP/M6mCcysln5kxkma0YyWcEswZVB8jKkzA== X-Google-Smtp-Source: AGHT+IEst77fntVxvCVtgyny39Ydqdkl9Vl6dk7ShfcvwGLWRElTxBkoNfwfu2X05oPlLvns200mpg== X-Received: by 2002:a05:600c:1f0e:b0:431:5ba2:2450 with SMTP id 5b1f17b1804b1-4319ad253ecmr73820295e9.33.1730146880577; Mon, 28 Oct 2024 13:21:20 -0700 (PDT) Received: from ?IPV6:2a02:1811:cd2f:3500:e093:fcad:4f6:e542? (ptr-du5vm7f5ekzptmf0fgi.18120a2.ip6.access.telenet.be. [2a02:1811:cd2f:3500:e093:fcad:4f6:e542]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4318b55f784sm150300795e9.19.2024.10.28.13.21.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Oct 2024 13:21:20 -0700 (PDT) Message-ID: <40d7ccd6-f676-4137-bba4-6830a8f0e8ff@gmail.com> Date: Mon, 28 Oct 2024 21:21:56 +0100 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: PHP internals Subject: [PHP-DEV] Add Dom\Element::insertAdjacentHTML() Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit From: dossche.niels@gmail.com (Niels Dossche) 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