From c923fcd6d0aa956d178d00b6cf1b5a2cd8bffce1 Mon Sep 17 00:00:00 2001 From: Peter Cowburn Date: Tue, 12 Jun 2012 16:26:11 +0000 Subject: [PATCH] Mark DOMNode textContent as readonly. DOMNode textContent should be documented as read-only, although other implementations of the DOM such as JavaScript allow direct setting of the textContent of an Element to insert plain text without escaping. In PHP, setting the textContent is a no-op. -- Provided by anonymous #17363 (andybkk@hotmail.co.uk) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326126 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/dom/domnode.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/reference/dom/domnode.xml b/reference/dom/domnode.xml index 72915222d2..9ea115c6eb 100644 --- a/reference/dom/domnode.xml +++ b/reference/dom/domnode.xml @@ -123,6 +123,7 @@ public + readonly string textContent