Here is an example: http://jsfiddle.net/MyDkR/8/
Here is the code:
.fixed {
height: 250px;
width: 250px;
background: #000 url('http://placekitten.com/200/600') no-repeat;
background-size: auto 100%;
background-attachment: fixed;
}
.notfixed {
height: 250px;
width: 250px;
background: #000 url('http://placekitten.com/200/600') no-repeat;
background-size: auto 100%;
}
The top element does not retain the background-size property, which declares that the height of the background will equal the height of the element.
The bottom element is identical, except that it does not have the background-attachment: fixed rule.
Is this a rendering bug? I've tested it in the latest versions of IE and Chrome. If so, is there a way to update the size of the background?