]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/Minify/extlib/minify/min_unit_tests/_test_files/html/before2.html
Added minify plugin
[quix0rs-gnu-social.git] / plugins / Minify / extlib / minify / min_unit_tests / _test_files / html / before2.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html lang="en">
3 <head>
4     <!-- comments get removed -->
5         <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
6         <meta name="author" content="Dave Shea">
7         <!-- also whitespace around block or undisplayed elements -->
8         <meta name="keywords" content="design, css, cascading, style, sheets, xhtml, graphic design, w3c, web standards, visual, display">
9         <meta name="description" content="A demonstration of what can be accomplished visually through CSS-based design.">
10         <meta name="robots" content="all">
11         <title>css Zen Garden: The Beauty in CSS Design</title>
12
13         <!-- to correct the unsightly Flash of Unstyled Content. http://www.bluerobot.com/web/css/fouc.asp -->
14         <script type="text/javascript"><!--
15 // js comment inside SCRIPT element
16 var is = {
17     ie:      navigator.appName == 'Microsoft Internet Explorer',
18     java:    navigator.javaEnabled(),
19     ns:      navigator.appName == 'Netscape',
20     ua:      navigator.userAgent.toLowerCase(),
21     version: parseFloat(navigator.appVersion.substr(21)) ||
22              parseFloat(navigator.appVersion),
23     win:     navigator.platform == 'Win32'
24 }
25 is.mac = is.ua.indexOf('mac') >= 0;
26 if (is.ua.indexOf('opera') >= 0) {
27     is.ie = is.ns = false;
28     is.opera = true;
29 }
30 if (is.ua.indexOf('gecko') >= 0) {
31     is.ie = is.ns = false;
32     is.gecko = true;
33 }
34 // --></script>
35 <script type="text/javascript">
36   var i = 0;
37   while  (++i < 10)
38   {
39     // ...
40   }
41 </script>
42 <script type="text/javascript">
43 i = 1;
44 </script>
45 <script type="text/javascript">
46  (i < 1);
47 </script>
48     <!--[if IE 6]>
49     <style type="text/css">
50 /*! copyright: you'll need CDATA for this < & */
51 body {background:white;}
52     </style>
53     <![endif]-->
54         <style type="text/css" title="currentStyle" media="screen">
55                 @import "/001/001.css";
56 /*\*/ css hack {} /*  */
57 /* normal CSS comment */
58 /*/*/ css hack {} /*  */
59 css hack {
60     display/**/:/**/none;
61     display:none;
62 }
63         </style>
64         <link 
65                 rel="Shortcut Icon"
66                 type="image/x-icon"
67                 href="http://www.csszengarden.com/favicon.ico">
68         <link 
69                 rel="alternate"
70                 type="application/rss+xml"
71                 title="RSS"
72                 href="http://www.csszengarden.com/zengarden.xml">
73 </head>
74 <body id="css-zen-garden">
75 <!--[if !IE]>--><p>Browser != IE</p><!--<![endif]-->
76 <div id="container">
77                 <div id="pageHeader">
78                         <h1><span>css Zen Garden</span></h1>
79                         <h2><span>The Beauty of <acronym title="Cascading Style Sheets">CSS</acronym>  \r
80 Design</span></h2>
81                 </div>
82                 <pre>
83         White  space  is  important   here!
84                 </pre>
85                 <div id="quickSummary">
86                         <p class="p1"><span>A demonstration of what can be accomplished visually through <acronym title="Cascading Style Sheets">CSS</acronym>-based design. Select any style sheet from the list to load it into this page.</span></p>
87                         <p class="p2"><span>Download the sample <a href="/zengarden-sample.html" title="This page's source HTML code, not to be modified.">html file</a> and <a href="/zengarden-sample.css" title="This page's sample CSS, the file you may modify.">css file</a></span></p>
88                 </div>
89         <textarea name="comment" id="comment" rows="6" class="maxwidth" cols="80">66666
90
91 1234567890</textarea>
92 Preserve at least 1 char of whitespace near  <script type="text/javascript"></script>scripts in case of document.write().
93 </div>
94 </body>
95 </html>