|
1 <!DOCTYPE HTML> |
|
2 <html> |
|
3 <head> |
|
4 <title>CSS :before styling 1</title> |
|
5 <script type="text/javascript" src="/MochiKit/Base.js"></script> |
|
6 <script type="text/javascript" src="/MochiKit/DOM.js"></script> |
|
7 <script type="text/javascript" src="/MochiKit/Style.js"></script> |
|
8 <script type="text/javascript" src="/MochiKit/Signal.js"></script> |
|
9 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
|
10 <script type="text/javascript" src="mixedContentTest.js"></script> |
|
11 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> |
|
12 <style type="text/css"> |
|
13 p:before |
|
14 { |
|
15 content: url(http://example.com/tests/security/manager/ssl/tests/mochitest/mixedcontent/moonsurface.jpg); |
|
16 } |
|
17 </style> |
|
18 |
|
19 <script class="testbody" type="text/javascript"> |
|
20 |
|
21 function runTest() |
|
22 { |
|
23 isSecurityState("broken", "insecure content added by :before styling breaks security"); |
|
24 finish(); |
|
25 } |
|
26 |
|
27 function afterNavigationTest() |
|
28 { |
|
29 isSecurityState("broken", "security still broken after navigation"); |
|
30 finish(); |
|
31 } |
|
32 |
|
33 </script> |
|
34 </head> |
|
35 |
|
36 <body> |
|
37 <p> |
|
38 There is a moon surface left to this text |
|
39 </p> |
|
40 </body> |
|
41 </html> |