Bug 15164 - FOUC at orange.co.il
Summary: FOUC at orange.co.il
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: https://direct.orange.co.il/selfservi...
Keywords: HasReduction, InRadar
Depends on:
Blocks:
 
Reported: 2007-09-08 14:40 PDT by mitz
Modified: 2022-08-30 09:43 PDT (History)
8 users (show)

See Also:


Attachments
Reduction (717 bytes, text/html)
2007-09-08 16:19 PDT, mitz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2007-09-08 14:40:19 PDT
The URL FOUCs when loaded (or reloaded).

I am afraid that's a result of <http://trac.webkit.org/projects/webkit/changeset/25308>
Comment 1 mitz 2007-09-08 16:19:27 PDT
Created attachment 16230 [details]
Reduction

See comments in the reduction.
Comment 2 mitz 2007-09-08 16:39:16 PDT
It would be nice, if possible, to not paint those newly-created-while-pending-stylsheets objects (similarly to how *no objects* are painted in initial FOUC suppression). However, it would be bad to go back to not painting anything (that would result in a flash of white). I think this may be doable by having the style selector inject a "visibility: hidden" declaration into all element that do not already have a renderer under the right conditions. Need to be careful not to contaminate or shared styles.
Comment 3 Gavin Sherlock 2007-09-08 20:37:02 PDT
Note, I do see the flashing red square when reloading the test case in released Safari Version 2.0.4 (419.3) on 10.4.10 - it may be a regression from a nightly build, but is not a regression from the released build.
Comment 4 mitz 2007-09-08 23:22:04 PDT
(In reply to comment #3)
> Note, I do see the flashing red square when reloading the test case in released
> Safari Version 2.0.4 (419.3) on 10.4.10 - it may be a regression from a nightly
> build, but is not a regression from the released build.

Thanks for testing! I am also seeing the flash in Safari 3.0.3 beta on 10.4.10. However, I cannot reproduce the FOUC at <https://direct.orange.co.il/selfservice/antiRobot.jsp> with that version (so the reduction may be wrong). Can you check if the live site FOUCs with Safari 2.0.4?
Comment 5 Gavin Sherlock 2007-09-08 23:25:56 PDT
I don't see FOUC with Safari 2.04 at the bug URL, so it is a regression, so the test case must obviously be triggering different behavior than the bug URL for some reason (timing related?).
Comment 6 mitz 2007-09-08 23:53:43 PDT
(In reply to comment #4)
> However, I cannot reproduce the FOUC at
> <https://direct.orange.co.il/selfservice/antiRobot.jsp> with that version (so
> the reduction may be wrong).

I was able to reproduce the FOUC with the 3.0.3 beta once I enabled autofill for user names and passwords. I then tried the Safari 2 application with the 3.0.3 beta version of the frameworks. The FOUC didn't happen with that combination.

(In reply to comment #5)
> I don't see FOUC with Safari 2.04 at the bug URL, so it is a regression, so the
> test case must obviously be triggering different behavior than the bug URL for
> some reason (timing related?).

My conclusion is that the underlying WebKit bug is not a regression (and arguably not a bug): there is no FOUC suppression once you have <body> and calculate style in the "no pending stylesheets" state. The reduction demonstrates that. However, as mentioned in the reduction,
        // Note that on the original orange.co.il page, the layout question comes
        // from the browser (apparently for autofill).
so the reason for the different observed behavior on the URL is a change in the Safari application between 2.0.4 and the 3.0.3 beta. That is something for Apple to investigate, of course.
Comment 7 David Kilzer (:ddkilzer) 2007-09-09 05:49:37 PDT
<rdar://problem/5469783>
Comment 8 Antti Koivisto 2007-09-09 18:06:56 PDT
This is  "a result of http://trac.webkit.org/projects/webkit/changeset/25308" in the sense that 25308 fixed problems created by http://trac.webkit.org/projects/webkit/changeset/24973 and one of the side effects of those problems was hiding this FOUC. We had the same FOUC before that.
Comment 9 mitz 2007-09-27 05:29:52 PDT
Another FOUC-by-autocomplete URL: <http://www.bloomsburystore.com/proddetail.php?prod=pantone-mug7>
Comment 10 Ahmad Saleem 2022-08-30 09:39:04 PDT
I am not able to reproduce this bug using attached test case when I am refreshing the tab (I tried it in non-private window) as well and it is not showing "red" flash, which is expected and it is same across other browsers (Chrome Canary 107 and Firefox Nightly 106) as well.

I am going to mark this as "RESOLVED CONFIGURATION CHANGED" but please reopen if you think I am testing it wrong or this is reproducible by following other test steps or new test case. Thanks!
Comment 11 mitz 2022-08-30 09:43:20 PDT
Thanks for testing. Agreed that this isn’t an issue anymore.