Skip to content

Conversation

marcoscaceres
Copy link
Contributor

Tests for the window.orientation attribute and orientationchange event as defined in the Screen Orientation specification.

  • Tests basic attribute presence and types
  • Tests valid orientation values (-90, 0, 90, 180)
  • Tests onorientationchange event handler
  • Tests orientationchange event firing with programmatic orientation changes
  • Tests mapping between screen.orientation.angle and window.orientation
  • Tests multiple orientation changes and event firing

Tests for the window.orientation attribute and orientationchange event
as defined in the Screen Orientation specification.

- Tests basic attribute presence and types
- Tests valid orientation values (-90, 0, 90, 180)
- Tests onorientationchange event handler
- Tests orientationchange event firing with programmatic orientation changes
- Tests mapping between screen.orientation.angle and window.orientation
- Tests multiple orientation changes and event firing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants