[whatwg] void elements vs. content model = "empty"

Jon Barnett jonbarnett at gmail.com
Wed Jun 20 18:52:01 PDT 2007

On 6/20/07, Jonas Sicking <jonas at sicking.cc> wrote:
> Simon Pieters wrote:
> > FWIW, <script src> has empty content model but still requires the end
> tag.
> That is not true. The contents of a <script src> is interpreted as
> script and executed if loading the resource pointed to by the
> src-attribute fails. In other words
> <script src="http://nonexistant.example.com/">
> alert('hi');
> </script>
> should bring up an alert.
> / Jonas

That's not what section 3.17 currently says, and that's not the way Firefox
behaves on my machine.  Is that noted anywhere?
Jon Barnett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070620/453e68d3/attachment-0001.htm>

More information about the whatwg mailing list