flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maurice Amsellem (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33949) Manage OS version in @media CSS
Date Fri, 07 Mar 2014 10:35:43 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13923757#comment-13923757
] 

Maurice Amsellem commented on FLEX-33949:
-----------------------------------------

Hi Morten, I came across this issue and fixed it on Dec 9th, 2013.  
the current algorithm is the following:
https://github.com/apache/flex-sdk/blob/develop/frameworks/projects/framework/src/mx/utils/MediaQueryParser.as

(line 445:  private function convertVersionStringToNumber(versionString: String): Number)

So you are probably using an older nightly build of 4.12.
You can get the latest RC4 from the installer, or wait a few days and you will the official
4.12 GA release.

BTW, thanks for the list of capabilities. It will be helpful.

Maurice 

> Manage OS version in @media CSS
> -------------------------------
>
>                 Key: FLEX-33949
>                 URL: https://issues.apache.org/jira/browse/FLEX-33949
>             Project: Apache Flex
>          Issue Type: New Feature
>          Components: Runtime CSS
>    Affects Versions: Apache Flex 4.11.0
>            Reporter: Maurice Amsellem
>            Assignee: Maurice Amsellem
>         Attachments: capabilities-values.txt
>
>
> >Use case
> This would give the ability to customize the application to match the native OS   look
and feel:
> - iOS6 / iOS7 skins
> - iOS status bar 
> >Specifications
> new 'os-version' media css selector  of type number, returns the major and minor version
number as a decimal figure, eg. 6.1 or 4.2
> Can be used like this for iOS6 and iOS7:
> iOS6:  @media (os-platform: "ios") and ( max-os-version: 6.5)
> iOS7: @media (os-platform: "ios") and ( min-os-version: 7.0)
> Note that os-version is only accurate when run on the device.
> When run on ADL, os-version will report the host OS version the ADL is running on.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message