View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0002865 | NetSurf | Layout | public | 2024-01-26 19:02 | 2024-02-02 03:32 | ||||||||
Reporter | Andrew Valencia | ||||||||||||
Assigned To | |||||||||||||
Severity | major | Reproducibility | always | ||||||||||
Status | new | Resolution | open | ||||||||||
Product Version | 3.11 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0002865: innerHTML and textContent can be assigned, but page view does not update | ||||||||||||
Description | 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. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Fixed in CI build # | |||||||||||||
Reported in CI build # | |||||||||||||
URL of problem page | |||||||||||||
Attached Files |
|
Notes | |
Andrew Valencia (reporter) 2024-02-02 03:32 |
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.) |
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 |