Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / mhtml / page_with_css_and_js_ie.mht
blobffd4e9935cb0378b216d7cf7da4d12cc4f17650c
1 From: "Saved by Windows Internet Explorer 9"\r
2 Subject:\r
3 Date: Wed, 18 May 2011 16:49:23 -0700\r
4 MIME-Version: 1.0\r
5 Content-Type: multipart/related;\r
6         type="text/html";\r
7         boundary="----=_NextPart_000_0012_01CC157B.8AA06570"\r
8 X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7600.16776\r
9 \r
10 This is a multi-part message in MIME format.\r
12 ------=_NextPart_000_0012_01CC157B.8AA06570\r
13 Content-Type: text/html;\r
14         charset="Windows-1252"\r
15 Content-Transfer-Encoding: quoted-printable\r
16 Content-Location: http://localhost/page_with_css_and_js.html\r
18 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">\r
19 <HTML><HEAD>\r
20 <META content=3D"text/html; charset=3Dwindows-1252" =\r
21 http-equiv=3DContent-Type><LINK=20\r
22 rel=3Dstylesheet type=3Dtext/css =\r
23 href=3D"http://localhost/resources/hide_image.css">\r
24 <SCRIPT type=3Dtext/javascript=20\r
25 src=3D"http://localhost/resources/remove_image_script.js"></SCRIPT>\r
27 <META name=3DGENERATOR content=3D"MSHTML 9.00.8112.16421"></HEAD>\r
28 <BODY onload=3DonLoad()>This page tests that CSS and JavaScript =\r
29 resources are=20\r
30 retrieved correctly for MHTML files.<BR><BR>There should be only 2 red =\r
31 squares=20\r
32 below:=20\r
33 <DIV id=3DfirstDiv><IMG=20\r
34 src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV>\r
35 <DIV id=3DsecondDiv>The red square below should be hidden by way of =\r
36 CSS.<BR><IMG=20\r
37 src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV>\r
38 <DIV id=3DthirdDiv>The red square below should be hidden by way of=20\r
39 JavaScript (with JS disabled in MHTML, it still should show).<BR><IMG=20\r
40 src=3D"http://localhost/resources/red_square.png"><BR><BR></DIV></BODY><=\r
41 /HTML>\r
43 ------=_NextPart_000_0012_01CC157B.8AA06570\r
44 Content-Type: image/png\r
45 Content-Transfer-Encoding: base64\r
46 Content-Location: http://localhost/resources/red_square.png\r
48 iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACx\r
49 jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACESURBVEhL7ZYxDoAwCEXB2LGTo46ewXj/zXgV\r
50 PQKgexP/Ai6l889/6Stp4HtZjYKOiRCpEpfSEIYgJqxNMFTkFUjVXiZhT6qGirwCqdrLJOxJ1VCR\r
51 V6A/1XxNc9jqQ6JkpjTU2rwQR+5c4769YCM5zn/BX4PY33Dljb0+JtiTqqEir8ADWEIY6dz7d1cA\r
52 AAAASUVORK5CYII=\r
54 ------=_NextPart_000_0012_01CC157B.8AA06570\r
55 Content-Type: text/css;\r
56         charset="iso-8859-1"\r
57 Content-Transfer-Encoding: 7bit\r
58 Content-Location: http://localhost/resources/hide_image.css\r
60 #secondDiv {\r
61         DISPLAY: none\r
62 }\r
64 ------=_NextPart_000_0012_01CC157B.8AA06570\r
65 Content-Type: application/octet-stream\r
66 Content-Transfer-Encoding: quoted-printable\r
67 Content-Location: http://localhost/resources/remove_image_script.js\r
69 function onLoad() {=0A=\r
70     divToRemove =3D document.getElementById("thirdDiv");=0A=\r
71     divToRemove.parentNode.removeChild(divToRemove);=0A=\r
72     if (window.testRunner)=0A=\r
73       testRunner.notifyDone();=0A=\r
74 }\r
75 ------=_NextPart_000_0012_01CC157B.8AA06570--\r