W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2014

Re: [Screen Orientation] Best Practice wording comment

From: Bruno Racineux <bruno@hexanet.net>
Date: Mon, 28 Jul 2014 16:37:41 -0700
To: Mounir Lamouri <mounir@lamouri.fr>, <public-webapps@w3.org>
Message-ID: <CFFC1EBD.8BEB8%bruno@hexanet.net>

On 7/28/14 3:01 AM, "Mounir Lamouri" <mounir@lamouri.fr> wrote:

>> I suggest adding a "permanent" relationship qualification and/or
>> "cross-devices" dimension in that sentence.

Better. Thanks

>> 2. I am noting that the definition 1 and 2 of "reading current screen
>> orientation type" is going to require that IEMobile and iOS change the
>> reporting of their current screen.width and screen.height to the correct
>> orientation, and stop reporting portrait only. I suppose that's a good
>> thing
>Do you mean that they do not update the screen.width and screen.height
>when the screen rotates?

Correct, IEMobile and iOS browsers always report the portrait values.
Chrome mobile fixed that at version 18.

It's been documented by ppk:

Perhaps you could enforce that fix by being even more explicit such as:
"1. If the 'screen.width' is greater than the 'screen.height', return
landscape-primary or landscape-secondary."

The portrait only behavior is error prone, and need to be corrected.
Received on Monday, 28 July 2014 23:38:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:26 UTC