JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5.3
[ckeditor.git] / _source / plugins / a11yhelp / dialogs / a11yhelp.js
index 42e2b06..ff07429 100644 (file)
@@ -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