[Webkit-unassigned] [Bug 23398] New: setTimeout, updating CSS in parent frame

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 16 18:20:57 PST 2009


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

           Summary: setTimeout, updating CSS in parent frame
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://files2.lya.eu/moo/
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Frames
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: p at lya.eu


I have a frame which include a Javascript which "morph" an element in the
parent window. The problem is that with webkit-based browser (chrome included)
element is not redrawed using settimeout().

e.g.

var el = window.parent.document.getElementById('myElem');
setTimeout(function() {
  // Setting some CSS property such as "top" or "left"
}), delay);


To fix it I have to do something like : document.parent.setTimeout().

Strange thing is that element is redrawed when an event occure such as mouse
mouving.

Example : http://files2.lya.eu/moo/

The first one is using setTimeout and the second one is using
document.parent.setTimeout().

(It works with gecko and trident).


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



More information about the webkit-unassigned mailing list