From e119c728949defc0f4a8d14a9206d1df2dd72055 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Sat, 3 Aug 2024 00:14:04 +0200 Subject: [PATCH] Add a test for setting the innerHTML on a prefixed XML element (#15204) --- .../xml/Element_innerHTML_prefixed_writing.phpt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ext/dom/tests/modern/xml/Element_innerHTML_prefixed_writing.phpt diff --git a/ext/dom/tests/modern/xml/Element_innerHTML_prefixed_writing.phpt b/ext/dom/tests/modern/xml/Element_innerHTML_prefixed_writing.phpt new file mode 100644 index 00000000000..2bdbc8c82d5 --- /dev/null +++ b/ext/dom/tests/modern/xml/Element_innerHTML_prefixed_writing.phpt @@ -0,0 +1,13 @@ +--TEST-- +Test setting innerHTML on a prefixed element +--EXTENSIONS-- +dom +--FILE-- +'); +$dom->documentElement->innerHTML = ''; +echo $dom->saveXML(); +?> +--EXPECT-- + +