Bug 23398 - setTimeout, updating CSS in parent frame
Summary: setTimeout, updating CSS in parent frame
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://files2.lya.eu/moo/
Keywords: InRadar, NeedsReduction
Depends on:
Blocks:
 
Reported: 2009-01-16 18:20 PST by Anthony Catel
Modified: 2024-03-27 15:01 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Catel 2009-01-16 18:20:57 PST
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).
Comment 1 Mark Rowe (bdash) 2009-01-16 22:16:53 PST
<rdar://problem/6504893>
Comment 2 Anthony Catel 2009-01-24 16:42:29 PST
Nothing new ?
Comment 3 Ahmad Saleem 2024-03-27 15:01:27 PDT
Taking test link from Web Archive - https://web.archive.org/web/20090122185754/http://files2.lya.eu/moo/

I am able to reproduce this bug in Safari 17.4.1 where first frame does not show `start` link while Chrome Canary 125 does.

Marking this as 'New'.