wpt / svg / linking / reftests / view-viewbox-override.html

Status: FAIL | Duration: 9ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/svg/linking/reftests/view-viewbox-override.html

<!doctype html>
<title>'viewBox' from referenced &lt;view> element</title>
<link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/linking.html#LinksIntoSVG">
<link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/linking.html#ViewElement">
<link rel="match" href="../../struct/reftests/reference/green-100x100.html">
<object style="height: 100px; background-color: red"
        data="data:image/svg+xml,
              <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'>
                <rect width='100' height='100' fill='green'/>
                <view id='aspect' viewBox='0 0 100 100'/>
              </svg>#aspect"></object>

/svg/struct/reftests/reference/green-100x100.html

<!DOCTYPE html>
<div style="width: 100px; height: 100px; background-color: green"></div>