Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-images/normalization-linear.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset="utf-8">
<title>Linear gradient stop normalization</title>
<meta name="assert" content="Rendering of linear-gradient with normalized color stops">
<link rel="match" href="reference/100x100-blue.html">
<style>
#gradient {
width: 100px;
height: 100px;
background-image: linear-gradient(green -50%, blue -50%);
}
</style>
<div id="gradient"></div>