<head>
<style>
.thin {
border-bottom: 1px solid;
background: -webkit-gradient(linear, 0% 100%, 0% 100%, from(red), to(blue))
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<h1>Linear gradient with 1px border-bottom. Should not crash</h1>
<div class="thin"></div>