-
Notifications
You must be signed in to change notification settings - Fork 51
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
The resize
event isn't a UIEvent
#76
Comments
It seems a bit odd to keep it in UIEvents if it is an instance of But I can't think of another place for it to live. If there are no objections or suggestions for an alternate location, I'll add a section for |
Dunno. I suppose it could be moved to CSSOM View like the |
@zcorpan @travisleithead Does moving |
Yes, it's defined there already and integrates with HTML's event loop, so it should be well-defined when exactly it should be fired, and cover the same ground as the first two paragraphs in UIEvents. The third paragraph:
...doesn't really make any sense to me. |
Filed https://connect.microsoft.com/IE/Feedback/Details/2455552 |
This might help here: The resize event on touchscreen: |
Edge had a pre-existing bug to switch +1 for removing resize from UIEvents spec. |
@zcorpan wrote:
I read that as: "Windows are resizeable. Other things might be resizeable too, but we don't bother specifying them here." That text looks like a catch-all to cover the case where some user agents are sending |
In Safari, Firefox, and Chrome,
resize
events are instances ofEvent
, not ofUIEvent
as this spec currently claims. Only MS Edge currently usesUIEvent
forresize
.Also, CSSOM View specifies
resize
as a plainEvent
. Per https://drafts.csswg.org/cssom-view/#resizing-viewports :And per https://dom.spec.whatwg.org/#concept-event-fire
The text was updated successfully, but these errors were encountered: