Automatic update from web-platform-tests Add display-p3-linear gradient interpolation WPT tests Also add tests for the proposed canvas gradient interpolation, although it is not yet part of the specification. See https://github.com/whatwg/html/issues/7947 Bug: 453687644 Change-Id: I95d92833df3d13b5ef8643ef2362fe01d4063848 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7077316 Reviewed-by: Philip Jägenstedt <foolip@chromium.org> Commit-Queue: ccameron chromium <ccameron@chromium.org> Cr-Commit-Position: refs/heads/main@{#1534807} -- wpt-commits: d46449db64299e1bc6a74a320f26d848404fdc9f wpt-pr: 55630
21 lines
720 B
HTML
21 lines
720 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>display-p3-linear gradient interpolation</title>
|
|
<meta name="fuzzy" content="maxDifference=1-10;totalPixels=0-24000">
|
|
<link rel="help" href="https://www.w3.org/TR/css-color-4/#interpolation">
|
|
<meta name="assert" content="Test display-p3-linear as a gradient interpolation space. Reference generated here: https://raphlinus.github.io/color/2021/01/18/oklab-critique.html">
|
|
<link rel="match" href="display-p3-linear-gradient-ref.html">
|
|
<style>
|
|
.test {
|
|
width: 480px;
|
|
height: 50px;
|
|
background: linear-gradient(to right in display-p3-linear, rgb(255, 0, 0), rgb(0, 255, 0));
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="test"></div>
|
|
</body>
|
|
</html>
|