[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    CSS relayout infinite loop
From:       Aaron Seigo <aseigo () kde ! org>
Date:       2004-12-22 19:15:43
Message-ID: 200412221215.48022.aseigo () kde ! org
[Download RAW message or body]


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?

-- 
Aaron J. Seigo
Society is Geometric

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic