Version: (using KDE KDE 3.5.5) Installed from: Gentoo Packages Compiler: gcc (GCC) 4.1.1 (Gentoo 4.1.1-r2) OS: Linux While trying to write a table on the spot, I've seen that Konqueror does not allow changing (adding or replacing) the innerHTML for <table> elements with javascript. I'm attaching a simple testcase that shows the behaviour. It works fine in Opera and Firefox, I haven't tried the reduced testcase on Safari, but the actual more complex script worked but left a "none" extraneous entry.
Created attachment 18566 [details] Reduced testcase HTML showing the problem.
I am pretty sure that doesn't work in IE, FYI
*** Bug 134967 has been marked as a duplicate of this bug. ***
Indeed I didn't try it on IE, but both 6 and 7 refuses it.
When I last tried that, it didn't work in Firefox either. In IE you can use outerHTML instead.
firefox 2.0.14 works well. Konqueror 4 no.
SVN commit 959136 by orlovich: Go ahead and remove restrictions on what elements can be altered with innerHTML, to match Mozilla's embrace-and-extend of this IE extension. We do not take advantage of the context yet, but I am not sure we have to do context-aware reconstruction here anyway; and the weather is way too nice for me to try to make sense of HTML5's spaghetti code. (And whitespace issue with this are a separate report) Makes google suggest on google.com front page work --- thanks to Ariya for mentionning it exists. Makes the 'other systems' download wizard for flash player on adobe.com work --- thanks to 'bokey' on IRC for bringing it up... Makes stuff show up on mail-archives.apache.org BUG:168479 BUG:137408 M +4 -21 html_elementimpl.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=959136
SVN commit 959142 by orlovich: automatically merged revision 959136: Go ahead and remove restrictions on what elements can be altered with innerHTML, to match Mozilla's embrace-and-extend of this IE extension. We do not take advantage of the context yet, but I am not sure we have to do context-aware reconstruction here anyway; and the weather is way too nice for me to try to make sense of HTML5's spaghetti code. (And whitespace issue with this are a separate report) Makes google suggest on google.com front page work --- thanks to Ariya for mentionning it exists. Makes the 'other systems' download wizard for flash player on adobe.com work --- thanks to 'bokey' on IRC for bringing it up... Makes stuff show up on mail-archives.apache.org BUG:168479 BUG:137408 M +4 -21 html_elementimpl.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=959142