From: Subject: =?iso-2022-jp?B??= Date: Wed, May 18 2011 15:21:05 GMT-0700 MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_0000_C2ECC76E.5EC79255"; type="text/html" ------=_NextPart_000_0000_C2ECC76E.5EC79255 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://localhost/page_with_css_and_js.html =20 This page tests that CSS and JavaScript resources are retrieved correctly= for MHTML files.

There should be only one red square below:


The red square below should be hidden by way of CSS.


The red square below should be hidden by way of JavaScript.


=20 ------=_NextPart_000_0000_C2ECC76E.5EC79255 Content-Type: text/css Content-Transfer-Encoding: quoted-printable Content-Location: http://localhost/resources/hide_image.css #secondDiv { display: none; } ------=_NextPart_000_0000_C2ECC76E.5EC79255 Content-Type: text/javascript Content-Transfer-Encoding: quoted-printable Content-Location: http://localhost/resources/remove_image_script.js function onLoad() { divToRemove =3D document.getElementById("thirdDiv"); divToRemove.parentNode.removeChild(divToRemove); if (window.testRunner) testRunner.notifyDone(); } ------=_NextPart_000_0000_C2ECC76E.5EC79255 Content-Type: image/png Content-Transfer-Encoding: base64 Content-Location: http://localhost/resources/red_square.png iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACx jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACESURBVEhL7ZYxDoAwCEXB2LGTo46ewXj/zXgV PQKgexP/Ai6l889/6Stp4HtZjYKOiRCpEpfSEIYgJqxNMFTkFUjVXiZhT6qGirwCqdrLJOxJ1VCR V6A/1XxNc9jqQ6JkpjTU2rwQR+5c4769YCM5zn/BX4PY33Dljb0+JtiTqqEir8ADWEIY6dz7d1cA AAAASUVORK5CYII= ------=_NextPart_000_0000_C2ECC76E.5EC79255--