Status: FAIL | Duration: 25ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-images/gradient-move-stops.html
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Linear gradient which needs some positions changed and inferred.</title> <link rel="help" href="https://drafts.csswg.org/css-images-3/#radial-color-stops"> <link rel="match" href="gradient-move-stops-ref.html"> <style> #gradient { width: 400px; height: 300px; background-image: linear-gradient(to right, yellow, blue 70%, green 0); } </style> </head> <body> <div id="gradient"></div> </body> </html>
/css/css-images/gradient-move-stops-ref.html
<!doctype html> <html> <head> <meta charset="utf-8"> <style> #gradient { width: 400px; height: 300px; background-image: linear-gradient(to right, yellow 0%, blue 70%, green 70%, green 100%); } </style> </head> <body> <div id="gradient"></div> </body> </html>