Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/extensibility/foreignObject/foreign-object-scale-scroll.html - WPT Dashboard Interop Dashboard
<!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>