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

[cssom-view-1] The interface for MediaQueryList change event conflicts within the spec #2981

Open
saschanaz opened this issue Aug 2, 2018 · 0 comments

Comments

@saschanaz
Copy link
Member

https://drafts.csswg.org/cssom-view/#the-mediaquerylist-interface

If target’s matches state has changed since the last time these steps were run, fire an event at target using the MediaQueryListEvent constructor, with its type attribute initialized to change, its isTrusted attribute initialized to true, its media attribute initialized to target’s media, and its matches attribute initialized to target’s matches state.

https://drafts.csswg.org/cssom-view/#mediaquerylist-event-summary

Event Interface Interesting targets Description
change Event MediaQueryList Fired at the MediaQueryList when the matches state changes.

Probably the latter should be MediaQueryListEvent instead of Event.

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

2 participants