Strange javascript bug!
Martijn Klingens
klingens at kde.org
Wed Oct 30 15:11:31 GMT 2002
On Wednesday 30 October 2002 13:32, Dirk Mueller wrote:
> hmm. I would be curious to find out if <script> in <HEAD> is still
> executed, but not in <body>. (i.e. if you have a <link> stylesheet which
> loads very slowly in head).
try loading a style sheet from http://martijn.homeip.net if you like. As I am
not running an httpd that will timeout on my firewall dropping packages.
Gives you *plenty* of time to test ;-)
I have no access to browsers other than Konq at the moment (and good old NS
4.7, but that's not too much help I fear), so that's all I can offer today.
Tomorrow at work I might be able to test some more if you like. What exactly
did you want to see tested? Something like
<html>
<head>
<link type="text/css" href="http://...">
<script>alert('boo!');</script>
</head>
<body>
...
</body>
</html>
?
> I would not like to block parsing on external stylesheets, but blocking
> display is fine by me (would make many things easier)
It would make some pages appear slower, but it saves some very ugly relayouts
that are _very_ apparent on slower machines. On the whole I'd like to try a
patch that does that if you can make one up. I don't think it's good to add
that *now* to KDE 3.1 though, although you can judge the impact yourself much
better.
--
Martijn
More information about the kfm-devel
mailing list