\r
(function()\r
{\r
+ // Disable HC detaction in WebKit. (#5429)\r
+ if ( CKEDITOR.env.webkit )\r
+ {\r
+ CKEDITOR.env.hc = false;\r
+ return;\r
+ }\r
+\r
// Check is High Contrast is active by creating a temporary element with a\r
// background image.\r
\r
var useSpacer = CKEDITOR.env.ie && CKEDITOR.env.version < 7,\r
useBlank = CKEDITOR.env.ie && CKEDITOR.env.version == 7;\r
\r
-\r
var backgroundImageUrl = useSpacer ? ( CKEDITOR.basePath + 'images/spacer.gif' ) :\r
useBlank ? 'about:blank' : 'data:image/png;base64,';\r
\r
{\r
CKEDITOR.env.hc = false;\r
}\r
+\r
if ( CKEDITOR.env.hc )\r
CKEDITOR.env.cssClass += ' cke_hc';\r
\r