http://www.mediawiki.org/wiki/Special:Code/MediaWiki/60955
Revision: 60955 Author: tparscal Date: 2010-01-12 00:55:28 +0000 (Tue, 12 Jan 2010) Log Message: ----------- Moved an inline style into a CSS rule. Modified Paths: -------------- trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.html Modified: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.html =================================================================== --- trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.html 2010-01-12 00:30:52 UTC (rev 60954) +++ trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.html 2010-01-12 00:55:28 UTC (rev 60955) @@ -4,18 +4,19 @@ <title>WikiEditor</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style> - /* CSS for highlight module. Note that this CSS is loaded in the iframe, - * not in the main document. For that reason, it's also not in the combined and - * minified files. - * - * When you edit this please update the style version in js/plugins/jquery.wikiEditor.highlight.js - */ - + body { + margin: 0; + padding: 0; + width: 100%; + height: 100%; + font-family: monospace; + white-space: pre-wrap; + font-size: 9.5pt; + } /* Wikitext that's folded away and shouldn't be displayed */ .wikiEditor-nodisplay { display: none !important; } - /* A collapsed template */ .wikiEditor-template-collapsed { background-color:#DDEEFF; @@ -53,7 +54,6 @@ margin:3px; padding:0 0.25em; } - /* == Header == */ .wikiEditor-toc-header { /* TODO: move parsing to highlight module and rename this */ display: inline; @@ -61,6 +61,7 @@ } </style> <script type="text/javascript"> + parent.inherit( window )( function() { function get( name ) { // Extracts the value of a given URL parameter from the current window location @@ -79,5 +80,5 @@ } ); </script> </head> -<body style="margin:0;padding:0;width:100%;height:100%;white-space:pre-wrap;font-family:monospace;font-size:9.5pt;"></body> +<body></body> </html> \ No newline at end of file _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs