- From: Simon Pieters <simonp@opera.com>
- Date: Mon, 09 Jun 2014 10:13:51 +0200
- To: www-style@w3.org, "Boris Zbarsky" <bzbarsky@mit.edu>
On Fri, 06 Jun 2014 16:59:50 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote: > On 6/6/14, 5:20 AM, Simon Pieters wrote: >> I looked into changing this in the spec and noticed that this would >> change the argument of the callback from the MediaQueryList object to >> the event, which is potentially a Web compat problem. > > One way to deal with that, perhaps, is to say that addListener behaves > similar to event handlers: the thing passed in is not what's added as > the event listener, and the actual event listener invokes the thing > passed in in whatever way it's expected. Duplicate handling would need > to be defined carefully. > > This is a bit more of a pain to specify and implement, of course. Doing that doesn't seem like a big win over what the spec had previously. -- Simon Pieters Opera Software
Received on Monday, 9 June 2014 08:13:56 UTC