This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25314 - screen.orientation.angle should be an unsigned short
Summary: screen.orientation.angle should be an unsigned short
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Screen Orientation (show other bugs)
Version: unspecified
Hardware: All All
: P1 normal
Target Milestone: ---
Assignee: Mounir Lamouri
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-10 18:45 UTC by Mounir Lamouri
Modified: 2014-04-11 18:37 UTC (History)
2 users (show)

See Also:


Attachments

Description Mounir Lamouri 2014-04-10 18:45:50 UTC
The main purpose of that is to use the value for computation. It's a bit of a shame that it is a string. Let's make it an number so developers don't have to use parseInt() on it. Also, it will solve some issues Peter Beverloo had (regarding watches that could have non rectangular screen).