On Tuesday 2017-04-11 09:17 +0200, Andrea Marchesini wrote: > Spec: https://drafts.csswg.org/cssom-view/#mediaquerylist and > https://drafts.csswg.org/cssom-view/#mediaquerylistevent > > Summary: MediaQueryList interface has changed in the spec. I just landed > (without sending this email before doing it) a patch that introduces such > changes. > > Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1354441 > > Details: > > The main differences between the previous version and the current one are: > > . addListener/removeListener are 'alias' of > addEventListener/removeEventListener > > . the spec also introduces a new event called MediaQueryListEvent: the > function argument will be this event and not the MediaQueryList object as > it was before. This could introduce a compatibility break. > > Chromium implements the same behavior, since 2014.
This sounds good to me; thanks for cleaning this up. -David -- 𝄞 L. David Baron http://dbaron.org/ 𝄂 𝄢 Mozilla https://www.mozilla.org/ 𝄂 Before I built a wall I'd ask to know What I was walling in or walling out, And to whom I was like to give offense. - Robert Frost, Mending Wall (1914)
signature.asc
Description: PGP signature
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform