<!doctype html> | |
<title>foreignObject with scale transform and overflow:scroll</title> | |
<link rel="help" href="https://svgwg.org/svg2-draft/single-page.html#embedded-ForeignObjectElement"/> | |
<link rel="match" href="foreign-object-scale-scroll-ref.html"> | |
<svg width="400" height="400"> | |
<foreignObject x="100" y="100" transform="scale(2)" width="100" height="100" style="overflow: scroll"> | |
<div style="width: 1000px; height: 1000px; background: blue"></div> | |
</foreignObject> | |
</svg> |