w3c / deviceorientation

W3C Device Orientation spec
https://www.w3.org/TR/orientation-event/
Other
49 stars 32 forks source link

editorial: Define API section more normatively and with more <dfn>s #120

Closed rakuco closed 10 months ago

rakuco commented 11 months ago

This is a PR with multiple commits for clarity, but the really important one is the last one, whose commit message I'll reproduce here. Having this structure in place makes it a lot easier to add permissions policy integration or make the Permissions API integration required, for example.


The idea is to make this section less hand-wavy and easier to change in the future by defining algorithms and steps more clearly while not making any user-visible changes.

Readability:

More normative definitions:


Preview | Diff