1
0
Fork 0
firefox/testing/web-platform/tests/css/css-images/linear-gradient-body-sibling-index.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

15 lines
593 B
HTML

<!DOCTYPE html>
<title>CSS Images Test: Linear gradient with sibling-index()</title>
<link rel="help" href="https://drafts.csswg.org/css-images/#linear-gradients">
<link rel="help" href="https://drafts.csswg.org/css-values-5/#tree-counting">
<link rel="match" href="linear-gradient-body-sibling-index-ref.html">
<link rel="assert" content"sibling-index() is 2 for body">
<style>
body {
background-position: top left;
background-repeat: no-repeat;
background-size: 100px 100px;
background-image: linear-gradient(blue calc(20px * sibling-index()), yellow);
}
</style>
<body>