[patch] don't restart marquee if it's suspended

Leo Savernik l.savernik at aon.at
Fri Aug 20 15:50:38 CEST 2004


Hello,

I found the following issue in the marquee implementation:

When a marquee is suspended, it will be started unconditionally as soon as 
updateMarqueePosition is called.

You can test this on [1] where clicking on "stop" would suspend the marquee, 
but only until the next relayout occurred, which in turn called 
updateMarqueePosition, which in turn called start().

WebCore might be affected, too.

mfg
 Leo

[1] http://javascriptkit.com/javatutors/marquee4.shtml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: khtml_marquee_5.diff
Type: text/x-diff
Size: 664 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/khtml-devel/attachments/20040820/401406eb/khtml_marquee_5.bin


More information about the Khtml-devel mailing list