<html> | |
<head> | |
<link href="resources/hide_image.css" rel="stylesheet" type="text/css"> | |
<script type="text/javascript" src="resources/remove_image_script.js"></script> | |
<script> | |
if (window.testRunner) | |
testRunner.waitUntilDone(); | |
</script> | |
</head> | |
<body onload="onLoad()"> | |
This page tests that CSS and JavaScript resources are retrieved correctly for MHTML files.<br><br> | |
There should be only one red square below: | |
<div id="firstDiv"> | |
<img src="resources/red_square.png"><br><br> | |
</div> | |
<div id="secondDiv"> | |
The red square below should be hidden by way of CSS.<br> | |
<img src="resources/red_square.png"><br><br> | |
</div> | |
<div id="thirdDiv"> | |
The red square below should be hidden by way of JavaScript.<br> | |
<img src="resources/red_square.png"><br><br> | |
</div> | |
</body> | |
</html> |