Add memory space check routine before saving web storage data
[framework/web/webkit-efl.git] / LayoutTests / mhtml / page_with_css_and_js_unmht.mht
1 From: <Saved by UnMHT>\r
2 Subject: =?iso-2022-jp?B??=\r
3 Date: Wed, May 18 2011 15:21:05 GMT-0700\r
4 MIME-Version: 1.0\r
5 Content-Type: multipart/related;\r
6         boundary="----=_NextPart_000_0000_C2ECC76E.5EC79255";\r
7         type="text/html"\r
8 \r
9 ------=_NextPart_000_0000_C2ECC76E.5EC79255\r
10 Content-Type: text/html; charset="ISO-8859-1"\r
11 Content-Transfer-Encoding: quoted-printable\r
12 Content-Location: http://localhost/page_with_css_and_js.html\r
13 \r
14 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=\r
15 =3Diso-8859-1">\r
16 \r
17 \r
18   <link type=3D"text/css" rel=3D"stylesheet" href=3D"resources/hide_image.c=\r
19 ss"></link>\r
20   =20\r
21   <script src=3D"resources/remove_image_script.js" type=3D"text/javascript"=\r
22 ></script>\r
23   <script>\r
24     if (window.testRunner) {\r
25       testRunner.dumpAsText();\r
26       testRunner.waitUntilDone();\r
27     }\r
28   </script>\r
29 <base href=3D"http://localhost/"></base></head><body onload=3D"onLoad()">\r
30 This page tests that CSS and JavaScript resources are retrieved correctly=\r
31  for MHTML files.<br><br>\r
32 There should be only one red square below:\r
33 <div id=3D"firstDiv">\r
34 <img src=3D"resources/red_square.png"><br><br>\r
35 </div>\r
36 <div id=3D"secondDiv">\r
37 The red square below should be hidden by way of CSS.<br>\r
38 <img src=3D"resources/red_square.png"><br><br>\r
39 </div>\r
40 <div id=3D"thirdDiv">\r
41 The red square below should be hidden by way of JavaScript.<br>\r
42 <img src=3D"resources/red_square.png"><br><br>\r
43 </div>\r
44 \r
45  =20\r
46 </body></html>\r
47 ------=_NextPart_000_0000_C2ECC76E.5EC79255\r
48 Content-Type: text/css\r
49 Content-Transfer-Encoding: quoted-printable\r
50 Content-Location: http://localhost/resources/hide_image.css\r
51 \r
52 #secondDiv { display: none; }\r
53 \r
54 ------=_NextPart_000_0000_C2ECC76E.5EC79255\r
55 Content-Type: text/javascript\r
56 Content-Transfer-Encoding: quoted-printable\r
57 Content-Location: http://localhost/resources/remove_image_script.js\r
58 \r
59 function onLoad() {\r
60     divToRemove =3D document.getElementById("thirdDiv");\r
61     divToRemove.parentNode.removeChild(divToRemove);\r
62     if (window.testRunner)\r
63       testRunner.notifyDone();\r
64 }\r
65 ------=_NextPart_000_0000_C2ECC76E.5EC79255\r
66 Content-Type: image/png\r
67 Content-Transfer-Encoding: base64\r
68 Content-Location: http://localhost/resources/red_square.png\r
69 \r
70 iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACx\r
71 jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACESURBVEhL7ZYxDoAwCEXB2LGTo46ewXj/zXgV\r
72 PQKgexP/Ai6l889/6Stp4HtZjYKOiRCpEpfSEIYgJqxNMFTkFUjVXiZhT6qGirwCqdrLJOxJ1VCR\r
73 V6A/1XxNc9jqQ6JkpjTU2rwQR+5c4769YCM5zn/BX4PY33Dljb0+JtiTqqEir8ADWEIY6dz7d1cA\r
74 AAAASUVORK5CYII=\r
75 ------=_NextPart_000_0000_C2ECC76E.5EC79255--\r