See <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=519928">https://bugzilla.mozilla.org/show_bug.cgi?id=519928</a><br clear="all"><br>Suppose we have a <script> element inside a contenteditable parent. Should the script run? What about on* attribute event handlers, should they fire in response to events? What about <object> plugins inside a contenteditable parent, should they be instantiated?<br>
<br>In Webkit, scripts, event handlers and plugins run normally. IE disables them. Gecko disables them when designmode is used but enables them for contenteditable. In <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=519928#c46">https://bugzilla.mozilla.org/show_bug.cgi?id=519928#c46</a> a CKEditor developer argues forcefully that we should disable them.<br>
<br>If we do choose to disable them, exactly how this should be specced is not completely clear to me.<br><br>There is a side issue of how editable <iframe>s should be treated. Presumably we should load the subdocument, but if we disabled scripts for editable content, should we allow scripts to run inside the <iframe> document? Probably yes to allow framebusting to run. Perhaps we should prevent user events from being delivered to the <iframe> document though?<br>
<br>Rob<br>-- <br>"He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]<br>