WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
23398
setTimeout, updating CSS in parent frame
https://bugs.webkit.org/show_bug.cgi?id=23398
Summary
setTimeout, updating CSS in parent frame
Anthony Catel
Reported
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).
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2009-01-16 22:16:53 PST
<
rdar://problem/6504893
>
Anthony Catel
Comment 2
2009-01-24 16:42:29 PST
Nothing new ?
Ahmad Saleem
Comment 3
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'.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug