r105490 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105489‎ | r105490 | r105491 >
Date:23:37, 7 December 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Changed which elements had user-select: none so that people can copy the wikitext generated by the editor
Modified paths:
  • /trunk/extensions/VisualEditor/demo/index.html (modified) (history)
  • /trunk/extensions/VisualEditor/modules/es/styles/es.SurfaceView.css (modified) (history)
  • /trunk/extensions/VisualEditor/modules/sandbox/sandbox.css (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/sandbox/sandbox.css
@@ -8,6 +8,11 @@
99 background-image: url(../es/images/fade-up.png);
1010 background-position: bottom left;
1111 background-repeat: repeat-x;
 12+ -webkit-user-select: none;
 13+ -moz-user-select: none;
 14+ -ms-user-select: none;
 15+ -o-user-select;
 16+ user-select: none;
1217 }
1318 #es-toolbar.float {
1419 top: 0;
Index: trunk/extensions/VisualEditor/modules/es/styles/es.SurfaceView.css
@@ -3,6 +3,11 @@
44 font-size: 1em; /* to look more like MediaWiki use: 0.8em */;
55 margin-left: -1em;
66 margin-right: -1em;
 7+ -webkit-user-select: none;
 8+ -moz-user-select: none;
 9+ -ms-user-select: none;
 10+ -o-user-select;
 11+ user-select: none;
712 }
813
914 .es-surfaceView-textarea {
Index: trunk/extensions/VisualEditor/demo/index.html
@@ -18,7 +18,6 @@
1919 margin: 1em 0;
2020 padding: 0;
2121 overflow-y: scroll;
22 - -webkit-user-select: none;
2322 background-color: white;
2423 }
2524 #es-base {

Status & tagging log