2024-11-24 14:43 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002865NetSurfLayoutpublic2024-02-02 03:32
ReporterAndrew Valencia 
Assigned To 
SeveritymajorReproducibilityalways 
StatusnewResolutionopen 
Product Version3.11 
Target VersionFixed in Version 
Summary0002865: innerHTML and textContent can be assigned, but page view does not update
Descriptionsquirrelmail, 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 ReproduceRun the supplied HTML page, click on the text, and after a delay it'll change on most browsers. It remains unchanged on Netsurf.
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
URL of problem page
Attached Files
  • html file icon hi.html (499 bytes) 2024-01-26 19:02

-Relationships
+Relationships

-Notes
Andrew Valencia

~0002430

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.)
+Notes

-Issue History
Date Modified Username Field Change
2024-01-26 19:02 Andrew Valencia New Issue
2024-01-26 19:02 Andrew Valencia File Added: hi.html
2024-02-02 03:32 Andrew Valencia Note Added: 0002430
+Issue History