<!DOCTYPE html>
<body>
<iframe id="red" srcdoc="<body style='width:100px; height:100px; background: url(resources/a/box.png)'></body>"></iframe>
<iframe id="green" srcdoc="<body style='width:100px; height:100px; background: url(resources/b/box.png)'></body>"></iframe>
</body>