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
spec.

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.

-Boris
Received on Thursday, 30 June 2011 02:39:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:33 GMT