Arty
Well-known member
When editing style properties via WebDav, if background position value is 0 and it has units, XenForo considers whole background statement invalid.
Example
This line is parsed correctly:
But when using this line:
XenForo considers it invalid and adds -xenforo-nomatch- prefix.
Bigger chunk of test code:
Save the following data via WebDav:
then reload css template. That code will look like this:
Example
This line is parsed correctly:
Code:
background: transparent url('@imagePath/xenforo/xenforo-ui-sprite.png') no-repeat -64px 0;
Code:
background: transparent url('@imagePath/xenforo/xenforo-ui-sprite.png') no-repeat -64px 0px;
Bigger chunk of test code:
Save the following data via WebDav:
Code:
@property "arrowWidget";
background: transparent url('@imagePath/xenforo/xenforo-ui-sprite.png') no-repeat -64px 0px;
width: 14px;
@property "/arrowWidget";
Code:
@property "arrowWidget";
width: 14px;
@property "/arrowWidget";
-xenforo-nomatch-background: transparent url('@imagePath/xenforo/xenforo-ui-sprite.png') no-repeat -64px 0px;