gecko-dev/testing/web-platform/tests/css/css-images/linear-gradient-2.html
Tim Nguyen 9481412015 Bug 1620893 - Fix and cleanup some gradient WPT tests. r=emilio
This changeset fixes multiple-position-color-stop-radial-2.html which was accidentally passing due to both the test and the reference using invalid syntax.

It also cleans up some other tests that were linking to the wrong spec section.

Differential Revision: https://phabricator.services.mozilla.com/D66038

--HG--
extra : moz-landing-system : lando
2020-03-09 14:58:09 +00:00

14 lines
472 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>Linear gradient with all inferred positions</title>
<link rel="help" href="https://drafts.csswg.org/css-images-3/#coloring-gradient-line">
<meta name="assert" content="Calculation of implicit gradient stops.">
<link rel="match" href="linear-gradient-ref.html">
<style>
#gradient {
width: 400px;
height: 300px;
background-image: linear-gradient(to right, black, red, gold);
}
</style>
<div id="gradient"></div>