VisualEditor: Rendering of categories fails on first load sometimes in Chrome (Webkit?)
OpenPublic

Description

Instead of "Foo v" you get "Foo
v" - dialog contents render before they're styled because the CSS is slow in coming in (per Roan).


Version: unspecified
Severity: normal

bzimport set Reference to bz49420.
Jdforrester-WMF created this task.Via LegacyJun 11 2013, 12:58 AM
Catrope added a comment.Via ConduitJun 11 2013, 3:55 PM

So there are two somewhat separate (but possibly connected issues) here. One is that, when you load the category dialog on a cold cache (try incognito window) in Chrome, the dialog contents are displayed before they're styled. I can reproduce this on mw.org but not on localhost, presumably because localhost delivers the CSS really fast.

The rendering bug that James is talking about, with the arrow appearing on the next line, only happens in Chrome and only when the flash of unstyled content also happens.

It would be nice if we could block showing the dialog on the CSS loading. The way we load CSS into the dialog iframes should probably be reconsidered anyway.

Jdforrester-WMF added a comment.Via ConduitJun 18 2013, 6:19 PM

Per Timo:

Most likely cause of meta dialog's flash of unstyled content:
ve.ui.Dialog.js:
"ve.ui.Dialog.static.addLocalStylesheets( [ 've.ui.Dialog.css' ] );"
Jdforrester-WMF moved this task to Backlog on the VisualEditor workboard.Via WebNov 24 2014, 4:29 PM

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.