compat
compat copied to clipboard
Resolve difference around orientationchange event on <body>
The section on window.orientation
and the orientationchange
event includes the following note:
iOS Safari also fires an orientationchange event on the body element, but other implementations do not, suggesting it’s not necessary for compatibility with the web.
If iOS Safari is still the only browser doing this, it would ideally be resolved by aligning it with other browsers. If such a change is deemed too risky by the WebKit team, I suppose the specification and other browsers would need to change instead.
I'd much prefer this be specified. I'm sure we'd have some content regressions if we removed support.