Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="match" href="foreign-object-size-ref.html">
<svg>
<foreignobject width="100" height="100" style="background:red;">
<div style="margin:100px 0;">
<div style="margin:100px 0;"></div>
</div>
<div style="margin:100px 0;">
<div style="margin:100px 0;"></div>
</div>
<div style="margin-top:-100px; height:100px; background:green;"></div>
</foreignobject>
</svg>