Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/styling/nested-svg-sizing-viewport-units-with-ICB.tentative.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Width and Height (in viewport units) as presentation attributes on nested svg</title>
<link rel="author" title="Divyansh Mangal" href="mailto:dmangal@microsoft.com">
<link rel="help" href="https://svgwg.org/svg2-draft/styling.html#TermPresentationAttribute">
<link rel="match" href="nested-svg-sizing-viewport-units-with-ICB-expected.html">
<svg width="50vw" height="100px" xmlns="http://www.w3.org/2000/svg">
<svg width="5px" style="width:50vw;">
<rect width="100%" height="100%" fill="green" />
</svg>
</svg>