Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Create a button, set it's styleName to "buttonStyle" and specify the following style block:
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
.buttonStyle
@media (application-dpi)
{
.buttonStyle
}
</fx:Style>
Actual Results:
Button has chrome color green.
Expected Results:
The query should evaluate to false since application-dpi is a mobile only feature, and the button should have chrome color red.
Workaround (if any):