Hide text without confusing Chromium's cursoring

Bug: T123608
Change-Id: I8c16277d877111180fd0f1cd39175fc85e3e0579
This commit is contained in:
David Chan 2016-08-04 13:59:44 -07:00
parent 0f6a5a21af
commit fc70622405

View file

@ -14,3 +14,11 @@
.ve-init-target-ie .ve-ce-mwReferenceNode {
display: inline-block;
}
/* Use zero font size to hide the default rendering, rather than display:none, to
* work around T123608 (cursoring bug in Chromium). See that bug for a discussion
* of the effect this has on bidi text. */
.ve-ce-mwReferenceNode span.mw-reflink-text {
font-size: 0;
display: inline;
}