Last modified: 2014-03-01 00:12:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51420, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49420 - VisualEditor: Rendering of categories fails on first load sometimes in Chrome (Webkit?)
VisualEditor: Rendering of categories fails on first load sometimes in Chrome...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-11 00:58 UTC by James Forrester
Modified: 2014-03-01 00:12 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description James Forrester 2013-06-11 00:58:41 UTC
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).
Comment 1 Roan Kattouw 2013-06-11 15:55:16 UTC
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.
Comment 2 James Forrester 2013-06-18 18:19:00 UTC
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' ] );"

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links