Index: trunk/extensions/VisualEditor/contentEditable/index.php |
— | — | @@ -4,6 +4,17 @@ |
5 | 5 | <head> |
6 | 6 | <title>EditSurface + ContentEditable Demo</title> |
7 | 7 | <style> |
| 8 | +/* Mozilla based browsers */ |
| 9 | +::-moz-selection { |
| 10 | + background-color: #b3d6f6; |
| 11 | + color: #000; |
| 12 | +} |
| 13 | + |
| 14 | +/* Works in Safari */ |
| 15 | +::selection { |
| 16 | + background-color: #b3d6f6; |
| 17 | + color: #000; |
| 18 | +} |
8 | 19 | .es-contentView-ruler { |
9 | 20 | position: absolute; |
10 | 21 | top: 0; |