|View Issue Details
|Fixed in Version
|0002865: innerHTML and textContent can be assigned, but page view does not update
|squirrelmail, a quite old PHP mailer, during startup ends up assigning some calculated HTML into an Element's innerHTML. It has things like onclick's and such, but the targeted element remains unresponsive.
Similarly, you can write a simple update string to the textContent of a node, and what is displayed remains unchanged.
|Steps To Reproduce
|Run the supplied HTML page, click on the text, and after a delay it'll change on most browsers. It remains unchanged on Netsurf.
|No tags attached.
|Fixed in CI build #
|Reported in CI build #
|URL of problem page
Andrew Valencia (reporter)
I've been digging through the source. It looks like there's logic to modify textContent and all, and it does indeed replace the node in the DOM. But rendering is from a box representation, which I don't see any logic making it rethink the box data structures. I'm going to go play with making a specific box rethink its shape, then bubble upward as needed.
(Or somebody can tell me that I'm on the wrong track.)
|File Added: hi.html
|Note Added: 0002430