Page MenuHomePhabricator

Flash of unstyled content (FOUC) in diff views
Closed, InvalidPublic

Description

Since recently (can't remember exactly, perhaps a week) I often get a FOUC in diff views: The page first renders without any CSS (or perhaps only my personal CSS), especially the whole Vector skin styles are missing (two columns, tabs, etc.). These styles are applied only a moment later.
I'm not sure whether this is a bug in MW or in Firefox, and I can't reliably reproduce. I'm putting this here in the hope others can share there own observations, to figure out where exactly the issue is.

For me, the FOUC happens:

  • in Firefox
  • only when I'm logged in (I tried several times to reproduce in a private window, but everything was fine there)
  • most of the time for the first diff view every day (subsequent views usually are fine, even if I hard refresh a page)
  • more often for large diffs than for small ones
  • only on diff pages, not on normal page views or any other pages I visit

Event Timeline

Ammarpad subscribed.

only when I'm logged in (I tried several times to reproduce in a private window, but everything was fine there)

Well that's an indication that the issue is from your account. You've a lot of stuff for vector, I have not read it but maybe something is interfering somewhere. I will suggest you review what's there.

I have tried to reproduce this with Firefox but could not; and since apparently no one reported this happening in over a month, I think this bug is invalid.

You could try using ?safemode=1 which should disable user js and css and see if it still happens. @Schnark

I have tried to reproduce this with Firefox but could not; and since apparently no one reported this happening in over a month, I think this bug is invalid.

Actually, this hasn't happened for me in a while now (I even forgot about this report), so let's assume it was just a strange unidentifiable temporary issue.