Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-images/gradient/gradient-single-stop-005.html
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Gradient with a single stop</title> <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com"> <link rel="help" href="https://drafts.csswg.org/css-images-3/#color-stop-syntax"> <link rel="help" href="https://drafts.csswg.org/css-images-3/#coloring-gradient-line"> <meta name="assert" content="Tests that gradient with a single color stop renders the expected solid color"> <meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-6000"> <link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html"> <style> body { background: #fff; } div { width: 100px; height: 100px; position: absolute; } #fail { background: red; } #test { background-image: repeating-radial-gradient(10px circle at top left, green); } </style> </head> <body> <p>Test passes if there is a filled green square.</p> <div id="fail"></div> <div id="test"></div> </body> </html>
/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>