mirror of
https://github.com/servo/servo.git
synced 2025-08-17 11:25:35 +01:00
Add some more tests for gradients
This commit is contained in:
parent
b211664e87
commit
4935fbf555
6 changed files with 178 additions and 7 deletions
|
@ -0,0 +1,23 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Linear gradient with some inferred positions</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-images-3/#radial-color-stops">
|
||||
<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 0%, red, gold);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="gradient"></div>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue