[whatwg] Orientation fixing for mobile devices

Tingan Ho tingan87 at gmail.com
Tue Dec 17 23:29:06 PST 2013


It would be great if there was some kind of orientation fixing for the
mobile web.

Developers might develop portrait or landscape only web apps. And today
there is noway to accomplish this.

I think an attribute to the html tag would fit well

*For landscape only:*
<html orientation="landscape">

*For portrait only:*
<html orientation="portrait">

-- 
Sincerely,

Tingan Ho


More information about the whatwg mailing list