Summary: | show correctly spoiler labels show/hide in forums | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Dimitrios Glentadakis <dglent> |
Component: | general | Assignee: | webkit-devel |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | adawit |
Priority: | NOR | ||
Version: | 4.3.2 | ||
Target Milestone: | --- | ||
Platform: | Mandriva RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | more readable test-case |
Description
Dimitrios Glentadakis
2010-01-18 21:21:24 UTC
I see that in other sites without the above code but may be someone else, the show/hide in spoilers is shown correctly in konqueror I test the above code and it has still the problem, i dont know if it is a problem of konqueror or the code is wrong This is true for webkit based browsers as well. You cannot simply change the value of any input button element using this.value. Perhaps a bug report needs to be opened upstream in webkit (QtWebKit) for this as well. Actually this works fine in the most recent versions of khtml, v4.7.4 for me ; so the bug is only apparent when using the webkit engine. Created attachment 66893 [details]
more readable test-case
(In reply to comment #3) > Actually this works fine in the most recent versions of khtml, v4.7.4 for me ; > so the bug is only apparent when using the webkit engine. I take this back. Your test case will work fine in both khtml and webkit engines as well so long as you remove this.innerText = ''; from the code. Not only that, it will work correctly in other webkit based browser like the latest version of chromium as well. No clue why setting innerText to empty seems to have such effect on the input element. Yes you have right, it is ok after removing this. |