<!DOCTYPE html> | |
<iframe srcdoc=" | |
<style> | |
@font-face { | |
font-family: ahem; | |
src: local('Ahem'); | |
} | |
.image { | |
background-image: url('../resources/square100.png'); | |
} | |
</style> | |
<div style='font-family: ahem;'> | |
This should be rendered with ahem font. | |
</div> | |
<div class='image'> | |
Image in iframe. Background should be dark blue. | |
</div> | |
<div class='image'> | |
Image set in iframe. Background should be dark blue. | |
</div> | |
"></iframe> | |
</script> |