OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/
DTD/xhtml11.dtd"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/
DTD/xhtml11.dtd"> |
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head> | 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head> |
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | 3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
4 <link rel="stylesheet" href="resources/basic.css" type="text/css"> | 4 <link rel="stylesheet" href="resources/basic.css" type="text/css"> |
5 <link rel="stylesheet" href="resources/small.css" type="text/css"> | 5 <link rel="stylesheet" href="resources/small.css" type="text/css"> |
6 <link rel="stylesheet" href="resources/normal.css" type="text/css"> | 6 <link rel="stylesheet" href="resources/normal.css" type="text/css"> |
7 <script src="../js/resources/js-test-pre.js"></script> | 7 <script src="../../resources/js-test.js"></script> |
8 </head> | 8 </head> |
9 <body> | 9 <body> |
10 <h1 id="firstH1" >Alternate stylesheets</h1> | 10 <h1 id="firstH1" >Alternate stylesheets</h1> |
11 | 11 |
12 <p id="textLine" >This document has 3 stylesheets, with no alternate styleshee
ts. It should:</p> | 12 <p id="textLine" >This document has 3 stylesheets, with no alternate styleshee
ts. It should:</p> |
13 | 13 |
14 <ul> | 14 <ul> |
15 <li>Have a green border at the top of the page</li> | 15 <li>Have a green border at the top of the page</li> |
16 <li>An underlined <code>H1</code></li> | 16 <li>An underlined <code>H1</code></li> |
17 <li>12px text</li> | 17 <li>12px text</li> |
(...skipping 14 matching lines...) Expand all Loading... |
32 | 32 |
33 shouldBe("getComputedStyle(document.body).getPropertyValue('border-top-col
or')", "'rgb(0, 128, 0)'"); | 33 shouldBe("getComputedStyle(document.body).getPropertyValue('border-top-col
or')", "'rgb(0, 128, 0)'"); |
34 | 34 |
35 wasPostTestScriptParsed = true; | 35 wasPostTestScriptParsed = true; |
36 finishJSTest(); | 36 finishJSTest(); |
37 } | 37 } |
38 </script> | 38 </script> |
39 | 39 |
40 </body> | 40 </body> |
41 </html> | 41 </html> |
OLD | NEW |