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

Re: [css-device-adapt] CSS Device Adaptation and Screen Orientation API

From: Tobie Langel <tobie@fb.com>
Date: Sat, 22 Dec 2012 22:27:53 +0000
To: Florian Rivoal <florian@rivoal.net>
CC: "www-style@w3.org" <www-style@w3.org>, Mounir Lamouri <mounir@lamouri.fr>, "florianr@opera.com" <florianr@opera.com>
Message-ID: <6872CC8D-387F-490E-BAC2-085AAB5904FE@fb.com>
On Dec 22, 2012, at 22:37, "Florian Rivoal" <florian@rivoal.net> wrote:

> On Sun, 11 Nov 2012 18:34:25 +0100, Mounir Lamouri <mounir@lamouri.fr> wrote:
> 
>>> I don't mind adding support for portrait-primary, etc, but if we add
>>> that they should be supported by the (orientation: *) media features as
>>> well.
>> 
>> Florian, do you think we could add those to CSS Media Queries
>> orientation values?
> 
> No objection to considering it, but I am not sure I understand how the value would be used. How would you expect layouts to differ when the MQ is portrait-primary vs portrait-secondary? Use cases would be welcome.

Has providing a JavaScript API to the CSS adaptation been considered? If so, isn't the Screen orientation API redundant?

--tobie
Received on Saturday, 22 December 2012 22:28:32 GMT

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