See for yourself:
The height CSS on ve-ce-focusableNode-invisible seems to be the culprit:
Note both screenshots have been taken from https://www.mediawiki.org/wiki/Extension:Graph/Demo
• ferdbold | |
Feb 4 2016, 5:48 AM |
F3308840: Capture d’écran 2016-02-04 à 00.46.16.png | |
Feb 4 2016, 5:48 AM |
F3308845: Capture d’écran 2016-02-04 à 00.47.56.png | |
Feb 4 2016, 5:48 AM |
See for yourself:
The height CSS on ve-ce-focusableNode-invisible seems to be the culprit:
Note both screenshots have been taken from https://www.mediawiki.org/wiki/Extension:Graph/Demo
Change 268429 had a related patch set uploaded (by Esanders):
VE: Never use invisible icon
Glancing at this happening to Math, briefly, it seems like the issue is that when this.hasRendering() is checked, the math elements don't technically have a width / height yet.
We could adjust this check to happen later in the rendering, after the browser has time to decide how it feels about things like images. Or we could perhaps whitelist some node-types as "yeah, this'll be visible, don't need to check"?
Change 268437 had a related patch set uploaded (by DLynch):
Don't just rely on jQuery width / height for hasRendering
Change 268449 had a related patch set uploaded (by Esanders):
Default extensions to not use the 'invisible icon'
Change 268453 had a related patch set uploaded (by Jforrester):
Default extensions to not use the 'invisible icon'
Change 268449 merged by jenkins-bot:
Default extensions to not use the 'invisible icon'
Change 268453 merged by jenkins-bot:
Default extensions to not use the 'invisible icon'
This isn't resolved, just worked around, until https://gerrit.wikimedia.org/r/#/c/268437/ is merged, right?
Change 268437 merged by jenkins-bot:
FocusableNode: watch for image loaded/layout changes for invisible icons