Status: FAIL | Duration: 12ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-backgrounds/background-size/background-size-cover-svg-view.html
<!DOCTYPE html> <title>SVG <view>-based sprites in background-image, background-size: cover</title> <link rel="help" href="https://drafts.csswg.org/css-backgrounds/#background-size"> <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> <style> #target { width: 100px; height: 100px; background-image: url('support/sprite-view-no-viewbox.svg#rect'); background-repeat: no-repeat; background-position: 50%; background-size: cover; } </style> <p>Test passes if there is a filled green square.</p> <div id="target"></div>
/css/reference/ref-filled-green-100px-square-only.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> <p>Test passes if there is a filled green square.</p> <div style="width:100px; height:100px; background:green;"></div>