<!DOCTYPE html>
<style>
.bordered {
margin: auto;
margin-top: -40px;
width: 260px;
height: 260px;
background-color: red;
background-image: linear-gradient(green, green);
border: 40px solid green;
}
</style>
<div id="spacer" style="height: 100px; width: 100px;"></div>
<!-- Test should show no red background color around the gradient. -->
<div class="bordered"></div>