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

saschanaz has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom-view-1] The interface for MediaQueryList change event conflicts within the spec ==
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`.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2981 using your GitHub account

Received on Thursday, 2 August 2018 05:05:55 UTC