Catrope has uploaded a new change for review.

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

Change subject: Work around Firefox bug allowing cursor in cE=false
......................................................................

Work around Firefox bug allowing cursor in cE=false

Firefox allows the cursor to move into a cE=false node if it's
moving from a different cE=true container than the one that
contains the node. See https://bugzilla.mozilla.org/show_bug.cgi?id=1132768

Setting -moz-user-select: none; stops this from happening.

Bug: T70537
Change-Id: I428e2dbbf3be73834919e8ab31d3f4160e27ff8e
---
M src/ce/styles/nodes/ve.ce.FocusableNode.css
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor 
refs/changes/31/192031/1

diff --git a/src/ce/styles/nodes/ve.ce.FocusableNode.css 
b/src/ce/styles/nodes/ve.ce.FocusableNode.css
index 0a3559c..f0fe696 100644
--- a/src/ce/styles/nodes/ve.ce.FocusableNode.css
+++ b/src/ce/styles/nodes/ve.ce.FocusableNode.css
@@ -24,6 +24,8 @@
 
 .ve-ce-focusableNode {
        cursor: default;
+       /* T70537: work around Firefox bug */
+       -moz-user-select: none;
 }
 
 .ve-ce-focusableNode-dropMarker {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I428e2dbbf3be73834919e8ab31d3f4160e27ff8e
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Catrope <roan.katt...@gmail.com>

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

Reply via email to