W3C home > Mailing lists > Public > www-style@w3.org > October 2012

Re: [css-device-adapt][media-queries] device-width/height

From: Kenneth Rohde Christiansen <kenneth.r.christiansen@intel.com>
Date: Wed, 10 Oct 2012 13:51:51 +0200
Message-ID: <CAEC208vb7Z9dzdPrMvPTCLANy9D1tWyRq0iVymPccSNW_aQe8g@mail.gmail.com>
To: Rune Lillesveen <rune@opera.com>
Cc: www-style@w3.org
> The Media Queries spec looks clear to me.
>
> The Units section in Media Queries says:
>
> "The units used in media queries are the same as in other parts of CSS. For
> example, the pixel unit represents CSS pixels and not physical pixels."
>
> Furthermore, the example in the 'device-width' section says:
>
> "... The px unit is of the logical kind, as described in the Units
> section."

OK great, thanks for pointing that out. This makes it clear that iOS
does this correctly and Android doesn't. It already was kind of clear
since CSSOM View Module writes "All coordinates and dimensions for the
APIs defined in this specification are in CSS pixels."

Kenneth

---------------------------------------------------------------------
Intel Denmark Aps
Langelinie Alle 35, DK-2100 Copenhagen
CVR No. 76716919

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
Received on Wednesday, 10 October 2012 11:52:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT