Status: Unconfirmed Owner: ---- Labels: Type-Bug Pri-2 OS-All Area-Misc New issue 23639 by jaclynne: [Exception] #<a DOMCoreException> in forum spoiler http://code.google.com/p/chromium/issues/detail?id=23639
Chrome Version : <Copy from: 'about:version'> URLs (if applicable) : Other browsers tested: Add OK or FAIL after other browsers where you have tested this issue: Safari 4: Firefox 3.x:OK IE 7:OK IE 8:OK Opera 9&10:OK What steps will reproduce the problem? 1.This code causes error <div style="margin:20px; margin-top:5px"><div style="font: 11px Verdana, Geneva, Lucida, 'Lucida Grande'; margin-bottom:2px"><b>Spoiler:</b> <input type="button" value="Show" style="width:45px;font- size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTag Name('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagN ame('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagN ame('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }" /></div><div style="min-height: 20px; background-color: #252525; margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none;">{TEXT}</div></div></div> What is the expected result? Spoiler button should display 'hide' when user clicks button to display spoiler contents What happens instead? 'show' button sticks and this error occurs: [Exception] #<a DOMCoreException> Please provide any additional information below. Attach a screenshot if possible. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---