Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 595B7C2F8 for ; Fri, 7 Mar 2014 10:37:50 +0000 (UTC) Received: (qmail 62290 invoked by uid 500); 7 Mar 2014 10:37:50 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 62243 invoked by uid 500); 7 Mar 2014 10:37:48 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 62015 invoked by uid 99); 7 Mar 2014 10:37:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 10:37:46 +0000 Date: Fri, 7 Mar 2014 10:37:46 +0000 (UTC) From: "Morten Gorm Madsen (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-33949) Manage OS version in @media CSS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13923764#comment-13923764 ] Morten Gorm Madsen commented on FLEX-33949: ------------------------------------------- I must have. You are welcome! Morten > 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)