[Webkit-unassigned] [Bug 71354] Resizing Cappuccino is very laggy on WebKit since Safari 5.1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 12 04:01:16 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=71354





--- Comment #2 from Antoine Mercadal <antoine.mercadal at inframonde.eu>  2011-12-12 04:01:16 PST ---
I've worked on this issue a little bit more, it's not just Cappuccino specific. The problem seems to be related when asking from window.screenX and screenY in the same resize event hander.

For instance this dirty fragment of code will hang when resizing:

<html>
<script>
(function(){

    function onresize()
    {
        console.log(window.screenX);
        console.log(window.screenY);
    }

    window.addEventListener("resize", onresize);
})()
</script>
</html>

If you comment one of the two log statement, it will work smoother.
I tried to add other log for innerWidth, innerHeight, screenTop, screenLeft, they don't cause any trouble.

Hope this helps

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list