Last modified: 2014-01-27 23:19:57 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 T62183, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60183 - VisualEditor: Standalone demo toolbar breaks sometimes in Chrome
VisualEditor: Standalone demo toolbar breaks sometimes in Chrome
Status: RESOLVED DUPLICATE of bug 59720
Product: VisualEditor
Classification: Unclassified
Initialisation (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Krinkle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-17 22:19 UTC by Roan Kattouw
Modified: 2014-01-27 23:19 UTC (History)
5 users (show)

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


Attachments
Screenshot of the bug (44.48 KB, image/png)
2014-01-17 22:19 UTC, Roan Kattouw
Details

Description Roan Kattouw 2014-01-17 22:19:15 UTC
Created attachment 14335 [details]
Screenshot of the bug

See attached screenshot.

This is because the standalone demo initializes the target into a detached DOM element, then attaches it once it's done. But you can't do that, because it causes ve.ui.Toolbar.prototype.initialize to be run before the toolbar is attached to the DOM (and generally causes initialize to be run on unattached things, which is not allowed), which means its measurements will be wrong, and so the toolbar gets right: 1840px; (width of screen) rather than width: 63px; or whatever.
Comment 1 Roan Kattouw 2014-01-27 23:19:57 UTC

*** This bug has been marked as a duplicate of bug 59720 ***

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


Navigation
Links