Arty
Well-known member
I have set border-radius to 3px for property "navTabs":
then I tried to check for border radius in conditional statement within same template file for another rule:
First "if" statement incorrectly returned in false, second "if" statement returned true, resulting in this HTML code:
Checking for border-top-right-radius component also incorrectly returns false.
Code:
@property "navTabs";
border-radius: 3px;
@property "/navTabs";
then I tried to check for border radius in conditional statement within same template file for another rule:
Code:
.test
{
<xen:if is="@navTabs.border-top-left-radius">
border-top-left-radius: @navTabs.border-top-left-radius;
</xen:if>
<xen:if is="@navTabs.border-bottom-left-radius">
border-bottom-left-radius: @navTabs.border-bottom-left-radius;
</xen:if>
}
First "if" statement incorrectly returned in false, second "if" statement returned true, resulting in this HTML code:
Code:
.test
{
-webkit-border-bottom-left-radius: 3px; -moz-border-radius-bottomleft: 3px; -khtml-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px;
}
Checking for border-top-right-radius component also incorrectly returns false.