mediawiki-extensions-Cite/modules/ve-cite/ve.ce.MWReferenceNode.css
David Chan fc70622405 Hide text without confusing Chromium's cursoring
Bug: T123608
Change-Id: I8c16277d877111180fd0f1cd39175fc85e3e0579
2016-08-04 15:47:48 -07:00

25 lines
716 B
CSS

/*!
* VisualEditor ContentEditable MediaWiki MWReferenceNode styles.
*
* @copyright 2011-2016 Cite VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/* HACK: Hide Ref errors in templates */
.mw-ext-cite-error {
display: none;
}
/* In IE, force hasLayout so the <sup>'s box gets measured correctly */
.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;
}