W3C home > Mailing lists > Public > public-html@w3.org > June 2011

Should script execution be allowed in designMode documents?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 29 Jun 2011 22:38:55 -0400
Message-ID: <4E0BE1BF.8000705@mit.edu>
To: HTML WG <public-html@w3.org>
Forwarding this along for one of my coworkers who can't figure out how 
to actually get on this list:

Firefox has historically disabled script execution when a document is
put into design mode by setting the designMode property on the
document object to "on".  This has been done a long time ago to be
compatible with IE.  But it has consistently surprised web developers.
  Moreover, script execution has never been prevented in Firefox for
contentEditable sections, which means that the result of putting a
document in design mode and setting the contentEditable attribute on
the body element will not be the same, which goes against the HTML5

Currently, Firefox, Safari and IE have this behavior, and Chrome and
Opera allow script execution in design mode.  We're looking into
lifting this restriction, and we would like to see what other
implementers think about this issue.

Received on Thursday, 30 June 2011 02:39:23 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:14 UTC