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

Re: Should script execution be allowed in designMode documents?

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Thu, 30 Jun 2011 16:24:07 -0400
Message-ID: <BANLkTikPf9jxWWzC-npwKWgBFu8jiQ6hJw@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: HTML WG <public-html@w3.org>
On Wed, Jun 29, 2011 at 10:38 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> 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.

Personally, I think the restriction makes no sense at all.  Is there
any reason in favor of the status quo other than possibly compat
(which can't be a huge deal if Chrome hasn't seen issues)?  I can't
fathom why it was ever this way to begin with.
Received on Thursday, 30 June 2011 20:24:54 UTC

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