Files
sousa-gecko/testing/web-platform/tests/css/css-images/linear-gradient-non-square.html
T
Josh Matthews 06f398fcdd Bug 1976961 [wpt PR 53731] - layout: Reverse vertical orientation of gradients using corner directions., a=testonly
Automatic update from web-platform-tests
layout: Reverse vertical orientation of gradients using corner directions.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

--

wpt-commits: 4424f5958b96b8efe206319512c3226bcf7cef51
wpt-pr: 53731
2025-07-14 08:29:34 +00:00

31 lines
719 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>Linear gradients for non-square elements</title>
<link rel="help" href="https://drafts.csswg.org/css-images/#linear-gradients">
<link rel="match" href="reference/linear-gradient-non-square-ref.html">
<style>
.a,
.b,
.c,
.d {
width: 200px;
height: 100px;
}
.a {
background: linear-gradient(to right bottom, black 50%, lightgray 50%);
}
.b {
background: linear-gradient(to left bottom, black 50%, lightgray 50%);
}
.c {
background: linear-gradient(to left top, black 50%, lightgray 50%);
}
.d {
background: linear-gradient(to right top, black 50%, lightgray 50%);
}
</style>
<div class="a"></div>
<div class="b"></div>
<div class="c"></div>
<div class="d"></div>