<!DOCTYPE html> | |
<style> | |
.scope { | |
width: 200px; | |
height: 200px; | |
overflow: hidden; | |
} | |
</style> | |
<div class="scope"> | |
<table> | |
<tr> | |
<img src="autumn.jpg" width="150" height="148"> | |
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"> | |
<foreignObject width="100%" height="100%"> | |
<div style="width:100%; height:100%;"></div> | |
</foreignObject> | |
</svg> | |
</tr> | |
</table> | |
</div> | |
<p>Test passes if it doesn't assert.</p> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
</script> |