* Gabriele Romanato wrote:
>@media screen and (orientation: landscape ) {
>    /* ... */
>}
>
>As far as I know, browsers - even desktop browsers - support the 
>DeviceOrientation event plus a series of APIs related to orientation. 
>The point is that on my Mac I actually cannot rotate my screen! Further, 
>what have JS APIs to do with CSS? Do they affect indirectly the way a 
>browser interprets certain rules (like in this case?).

Well, http://www.w3.org/TR/css3-mediaqueries/#orientation the feature
has the value `landscape` if the `height` feature is smaller than the
`width` feature. It does not have anything to do with APIs or whether
you can rotate your screen.
-- 
Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to