Re: [css-d] CSS Media Queries: a singularity with orientation modes

2013-12-04 Thread Alan Gresley
On 1/12/2013 8:12 AM, David Hucklesby wrote: On 11/30/13, 11:55 AM, Bjoern Hoehrmann wrote: * 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

[css-d] CSS Media Queries: a singularity with orientation modes

2013-11-30 Thread Gabriele Romanato
Hi, the thing that I really don't understand in the Media Queries module is how the 'and' clause is treated by browsers. I'm a programmer, so to me this clause is a boolean assertion which means that if both conditions are true, then the browser should apply the rule/s. I'm stumbled in a

Re: [css-d] CSS Media Queries: a singularity with orientation modes

2013-11-30 Thread Bjoern Hoehrmann
* 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!

Re: [css-d] CSS Media Queries: a singularity with orientation modes

2013-11-30 Thread David Hucklesby
On 11/30/13, 11:55 AM, Bjoern Hoehrmann wrote: * 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