Re: The SCRIPT element

On Wed, 16 Jul 2008 17:55:12 +0200, Francois Remy  
<fremycompany_pub@yahoo.fr> wrote:
> This is not the way IE7, IE8b1 and Opera 9.5 does.
> But this is in fact right in FireFox 2+ and Safari 3.
>
> I also found a strange bug in Opera 9.5.
> If you push the "fit to screen button"
> (whatever the old state was), the
> script appears on the screen.
>
> If we have <script><!-- --></script> display, we should
> see no content in the script (because this is a comment
> that's in the script). But in Firefox and Safari, we see
> the <!-- --> as plain text. In Opera, after the "fit" button
> was pressed, we can see the "<!-- -->".

That sounds correct for HTML, since <script> is not parsed like any other  
element.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Wednesday, 16 July 2008 15:58:26 UTC