Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify how to initialize the screen orientation #145

Closed
marcoscaceres opened this issue Feb 1, 2019 · 1 comment
Closed

Clarify how to initialize the screen orientation #145

marcoscaceres opened this issue Feb 1, 2019 · 1 comment

Comments

@marcoscaceres
Copy link
Member

The current spec is a bit hand-wavy about how to initialize the orientation values. For good reason, it says that the UA can wait until they are first accessed. However, this is an optimization.

What would be nice is if there was some means to hook into HTML's document creation process (I imagine there is such a thing) and make the spec hook into that. A UA can do something different, but in spec land, it would be nice to assume that initialization of these orientation and angle is happening when the document is created.

@marcoscaceres
Copy link
Member Author

Duplicate of #219

@marcoscaceres marcoscaceres marked this as a duplicate of #219 Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant