***POSSIBLE SPAM*** CSS relayout infinite loop

Sean Lynch lynch30 at marshall.edu
Wed Dec 22 19:20:04 GMT 2004


This is the same issue deviantart.com has I believe (I have not posted a bug 
yet on b.k.o though)

> hi..
>
> my bank recently changed their home page and it revealed a bug in khtml
> that's in both HEAD and 3.2.2. it causes khtml to be unresponsive on even
> very fast hardware. you can see the effect at:
>
>  http://bddf.ca/~aseigo/jitterbug.html
>
> the essential html is:
>
> <html>
> <body>
> <style type="text/css">
>     .dropShadow { position: relative; left: 20px; }
>     .searchBoxHome { float: left; }
> </style>
>
> <div class="dropShadow">
>     <div class="searchBoxHome">
>         <form>
>             <input type="text" value="Jitter back and forth!">
>         </form>
>         Jitterbug
>     </div>
> </div>
> </body>
> </html>
>
> due to the nested <div>'s, text content gets painted twice at an offset of
> 20px. for form elements, this triggers an infinite loop and the text field
> moves back and forth as quickly as possible (which, it turns out, is pretty
> quick =)
>
> shall open a BR for this, or do one of the resident khtml gurus know how to
> fix this or where to start looking?




More information about the kfm-devel mailing list