Divec has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/303008

Change subject: WIP: Hide text without confusing Chromium's cursoring
......................................................................

WIP: Hide text without confusing Chromium's cursoring

Change-Id: I8c16277d877111180fd0f1cd39175fc85e3e0579
TODO: Check what impact this has on bidi
---
M modules/ext.cite.style.css
1 file changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Cite 
refs/changes/08/303008/1

diff --git a/modules/ext.cite.style.css b/modules/ext.cite.style.css
index a728298..ad68080 100644
--- a/modules/ext.cite.style.css
+++ b/modules/ext.cite.style.css
@@ -42,11 +42,12 @@
        content: '[' counter( mw-Ref, decimal ) ']';
 }
 
-/* Hide the default rendering in browsers that support content
- * generation by selecting for :after pseudo-element.*/
+/* Hide the default rendering in browsers that support content generation by
+ * selecting for :after pseudo-element. Use zero font size rather than 
display:none
+ * to work around T123608 (cursoring bug in Chromium).*/
 x-thereisnoelementwiththisname:after,
 span.mw-reflink-text {
-       display: none;
+       font-size: 0;
 }
 
 /* Style for linkbacks from <references> to <ref>s */

-- 
To view, visit https://gerrit.wikimedia.org/r/303008
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8c16277d877111180fd0f1cd39175fc85e3e0579
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Cite
Gerrit-Branch: master
Gerrit-Owner: Divec <da...@troi.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to