RESOLVED INVALID 20128
createEntityReference works, but entity not shown on screen when added to a p element
https://bugs.webkit.org/show_bug.cgi?id=20128
Summary createEntityReference works, but entity not shown on screen when added to a p...
François Lamboley
Reported 2008-07-22 03:00:07 PDT
I created a p element in which I add a text node and an entity reference. Then, I add the p element in a div already on the xhtml page. The text node is drawn as expected, but the entity reference is not shown.
Attachments
test case (1.17 KB, application/xhtml+xml)
2008-07-22 03:01 PDT, François Lamboley
no flags
François Lamboley
Comment 1 2008-07-22 03:01:13 PDT
Created attachment 22424 [details] test case
Lucas Forschler
Comment 2 2019-02-06 09:03:12 PST
Mass moving XML DOM bugs to the "DOM" Component.
Ahmad Saleem
Comment 3 2023-03-29 06:22:24 PDT
Chrome Canary 114 and Safari 16.4 does not change anything in the text while clicking 'blue' rectangle but Firefox Nightly 113 show this error: XML Parsing Error: undefined entity Location: https://bug-20128-attachments.webkit.org/attachment.cgi?id=22424 Line Number 36, Column 18: <p>wklsd hbfkq&sect;</p>
Ahmad Saleem
Comment 4 2023-03-29 06:23:12 PDT
(In reply to Ahmad Saleem from comment #3) > Chrome Canary 114 and Safari 16.4 does not change anything in the text while > clicking 'blue' rectangle but Firefox Nightly 113 show this error: > > XML Parsing Error: undefined entity > Location: https://bug-20128-attachments.webkit.org/attachment.cgi?id=22424 > Line Number 36, Column 18: > <p>wklsd hbfkq&sect;</p> Forgot to add - Safari show this in Console: TypeError: document.createEntityReference is not a function. (In 'document.createEntityReference('sect')', 'document.createEntityReference' is undefined)
Anne van Kesteren
Comment 5 2023-12-30 00:47:04 PST
This feature has been removed from the web.
Note You need to log in before you can comment on or make changes to this bug.