Version: 3.5.8 (using 3.5.8, Kubuntu (gutsy) 4:3.5.8-0ubuntu3.3) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.22-14-generic i opened two tabs in one window. in both tabs i have <iframe> tags and <div> tags with the same id 'content'. and when i execute the following js code in the iframe on second tab: window.parent.document.getElementById('content').innerHTML=document.getElementById('content').innerHTML; // copy the html code from iframe to the parent window so when i did this, html code from iframe of second tab was moved to the div element of first tab. i don't know why. i did this experiment many times, but the result was the same. hope you'll resolve it, if it's bag. thanks
I'm not sure if i really understand what you were trying to do. i created a testcase, please modify/replace it so it fit's your needs.
Created attachment 25071 [details] testcase part#1
Created attachment 25072 [details] testcase part#2
Comment on attachment 25071 [details] testcase part#1 testcase part#1testcase part#1
arr, forgot that filenames get lost: #1 testcase_161134.html, #2 testcase_161134-iframe.html
I'm unable to reproduce it in konqueror 4 svn trunk r828814 (almost 4.1rc1)
Created attachment 27024 [details] testcase part#1 fixed The part#1 of the testcase contained an error: The id="content" must be assigned to the div-container, not the iframe. By testing this fix, the intended behaviour (copying text from inner div within the iframe, to the div in the root document) can now be reproduced.
So as stated above, the testcase now shows the intended behaviour. Also it does NOT copy content from one tab to another, so I'm closing this bug.