mirror of
https://github.com/servo/servo
synced 2026-05-12 01:46:28 +02:00
This implements the CSS `linear-gradient` property per the CSS-IMAGES
specification:
http://dev.w3.org/csswg/css-images-3/
Improves GitHub.
21 lines
319 B
HTML
21 lines
319 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<!-- Tests that corners are not handled incorrectly. -->
|
|
<style>
|
|
section {
|
|
display: block;
|
|
width: 300px;
|
|
height: 150px;
|
|
border: solid black 1px;
|
|
}
|
|
#a {
|
|
background: linear-gradient(45deg, white, black);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<section id=a></section>
|
|
</body>
|
|
</html>
|