Fixed  background-attachment not accepted?

Jake Bunce

Well-known member
I am editing xenforo.css. My body is this:

Code:
body
{
	@property "body";
	background-color: #222222;
	background-image: url(http://anim.tv/public/style_images/bubblesteel/bg.png);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center center;
	font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
	color: @contentText;
	word-wrap: break-word;
	line-height: 1.27;
	@property "/body";
}

In the compiled output on the page I get this:

Code:
body
{
	font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
color: rgb(20,20,20);
background: #222222 url('http://anim.tv/public/style_images/bubblesteel/bg.png') no-repeat center center;
word-wrap: break-word;
line-height: 1.27;

}

Where did background-attachment go?
 
Fixed now. The code was assuming that all properties handled by "background" could go into a style property. I've changed this to be a white list approach.
 
Top Bottom