Avoiding normalization introduced in bug 895135 caused gradientStart/Stop to not correspond to the firstStop and lastStop. This can cause us to incorrectly decide to use the repeat fast path. This patch switches takes us back to the same condition as we had before the regression.
26 lines
410 B
HTML
26 lines
410 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Grid</title>
|
|
<style>
|
|
body {
|
|
background: #fff;
|
|
}
|
|
div {
|
|
width: 300px;
|
|
height: 300px;
|
|
background-color: #269;
|
|
background-size: 100px 100px;
|
|
background-image:
|
|
linear-gradient( red 50px, green 50px);
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div ></div>
|
|
</body>
|
|
</html>
|