JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.3
[ckeditor.git] / _source / plugins / a11yhelp / dialogs / a11yhelp.js
index 42e2b06..15bee48 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -170,6 +170,7 @@ CKEDITOR.dialog.add( 'a11yHelp', function( editor )
                                        {\r
                                                type : 'html',\r
                                                id : 'legends',\r
+                                               style : 'white-space:normal;',\r
                                                focus : function() {},\r
                                                html : buildHelpContents() +\r
                                                        '<style type="text/css">' +\r
@@ -181,6 +182,17 @@ CKEDITOR.dialog.add( 'a11yHelp', function( editor )
                                                                'overflow-y:auto;' +\r
                                                                'overflow-x:hidden;' +\r
                                                        '}' +\r
+                                                       // Some adjustments are to be done for IE6 and Quirks to work "properly" (#5757)\r
+                                                       '.cke_browser_quirks .cke_accessibility_legend,' +\r
+                                                       '.cke_browser_ie6 .cke_accessibility_legend' +\r
+                                                       '{' +\r
+                                                               'height:390px' +\r
+                                                       '}' +\r
+                                                       // Override non-wrapping white-space rule in reset css.\r
+                                                       '.cke_accessibility_legend *' +\r
+                                                       '{' +\r
+                                                               'white-space:normal;' +\r
+                                                       '}' +\r
                                                        '.cke_accessibility_legend h1' +\r
                                                        '{' +\r
                                                                'font-size: 20px;' +\r
@@ -198,7 +210,6 @@ CKEDITOR.dialog.add( 'a11yHelp', function( editor )
                                                        '}' +\r
                                                        '.cke_accessibility_legend dd' +\r
                                                        '{' +\r
-                                                               'white-space:normal;' +\r
                                                                'margin:10px' +\r
                                                        '}' +\r
                                                '</style>'\r