[whatwg] Handling of script elements inside rendered OBJECT
Lachlan Hunt
lachlan.hunt at lachy.id.au
Thu May 11 03:38:03 PDT 2006
Shadow2531 wrote:
> That problem could be avoided by authors making sure each
> document.write() wrote complete element markup instead of splitting it
> up like in your example.
The problem could be avoided by not using document.write() at all, but
in reality that's not going to happen any time soon.
> not executing scripts in object tags would break lots of things. Ouch.
Possibly, but it depends how you look at the situation. Considering the
behaviour of Firefox and IE are the complete opposite, and that IE
actually doesn't execute scripts, then it's unlikely to break many things.
This also means that it is unlikely that many authors are depending on
it being one way or the other. This actually gives the opportunity to
think about the situation and pick the most appropriate one, rather than
just sticking with the most widely deployed and depended upon behaviour.
--
Lachlan Hunt
http://lachy.id.au/
More information about the whatwg
mailing list