You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Maurice Amsellem (JIRA)" <ji...@apache.org> on 2014/05/01 23:38:18 UTC
[jira] [Comment Edited] (FLEX-33949) Manage OS version in @media
CSS
[ https://issues.apache.org/jira/browse/FLEX-33949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13937351#comment-13937351 ]
Maurice Amsellem edited comment on FLEX-33949 at 5/1/14 9:37 PM:
-----------------------------------------------------------------
h4. Update for SDK 4.12.1:
Support for ANDROID versions complete.
* Now X.Y.Z version are supported is os-version media selector ( version must quoted if has 3 parts )
* Computes version for Android devices.
so now the follow media query works:
{code}
@media (os-platform: "android") AND (min-os-version: "4.1.2") {
/* JELLY BEAN SKINS */
}
{code}
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/d67e20c0
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/d67e20c0
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/d67e20c0
Branch: refs/heads/develop
was (Author: mamsellem):
Support for ANDROID versions complete.
* Now X.Y.Z version are supported is os-version media selector ( version must quoted if has 3 parts )
* Computes version for Android devices.
so now the follow media query works:
{code}
@media (os-platform: "android") AND (min-os-version: "4.1.2") {
/* JELLY BEAN SKINS */
}
{code}
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/d67e20c0
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/d67e20c0
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/d67e20c0
Branch: refs/heads/develop
> 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
> Fix For: Apache Flex 4.12.0, Apache Flex 4.12.1
>
> Attachments: capabilities-values.txt
>
> Time Spent: 48h
> Remaining Estimate: 0h
>
> >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)