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 5876410307 for ; Wed, 19 Mar 2014 14:14:52 +0000 (UTC) Received: (qmail 85228 invoked by uid 500); 19 Mar 2014 14:14:49 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 85146 invoked by uid 500); 19 Mar 2014 14:14:46 -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 85132 invoked by uid 99); 19 Mar 2014 14:14:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2014 14:14:45 +0000 Date: Wed, 19 Mar 2014 14:14:45 +0000 (UTC) From: "Maurice Amsellem (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (FLEX-33994) Need a way to distinguish phone and tablet target devices through 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-33994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940336#comment-13940336 ] Maurice Amsellem edited comment on FLEX-33994 at 3/19/14 2:14 PM: ------------------------------------------------------------------ Will implement the following @media selectors: device-width, device-height and the following units: (no unit), px, pt, in, cm, dp no unit => physical pixels px => physical pixel pt => pixels-equivalent at 72 ppi dp => pixels-equivalent at 160 ppi (use bucket dpi) [Edit] Note: pt, in and cm uses the real device dpi while dp will use the bucket-dpi (normalized dpi) was (Author: mamsellem): Will implement the following @media selectors: device-width, device-height and the following units: (no unit), px, pt, in, cm, dp no unit => physical pixels px => physical pixel pt => pixels-equivalent at 72 ppi dp => pixels-equivalent at 160 ppi (use bucket dpi) [Edit] Note: pt, in and cm uses the real device dpi while dp will use the bucket-dpi (normalized dpi) Not sure if I should use the original device resolution (ie 132dpi for iPad) or the normalized resolution (ie 120,160,etc.) for the conversion of units to actual pixels (which is required for comparison). > Need a way to distinguish phone and tablet target devices through css > --------------------------------------------------------------------- > > Key: FLEX-33994 > URL: https://issues.apache.org/jira/browse/FLEX-33994 > Project: Apache Flex > Issue Type: New Feature > Components: .Unspecified - Mobile > Affects Versions: Apache Flex 4.11.0 > Reporter: Maurice Amsellem > Assignee: Maurice Amsellem > > Some components should have different layout on phone and tablet devices. > For example, DropDownList should display as a centered popup list on phones, and display the drop down list below its popup button on tablets, supposedly having move screen space. -- This message was sent by Atlassian JIRA (v6.2#6252)