W3C home > Mailing lists > Public > www-style@w3.org > August 2014

Re: why not MediaQueryList.onchange

From: Simon Pieters <simonp@opera.com>
Date: Wed, 06 Aug 2014 16:19:13 +0200
To: "Tab Atkins Jr." <jackalmage@gmail.com>, "Jonathan Fielding" <hello@jonathanfielding.com>
Cc: "Jochen Eisinger" <eisinger@google.com>, "www-style list" <www-style@w3.org>
Message-ID: <op.xj6cqbqnidj3kv@simons-mbp>
On Mon, 09 Jun 2014 22:22:54 +0200, Jonathan Fielding  
<hello@jonathanfielding.com> wrote:

> Would be nice to be able to do addEventListener(“resize”, …) as well, I  
> have mentioned this in previous threads because its really important to  
> some responsive sites

Do you mean when the viewport is resized? The spec already fires an event  
for that:

http://dev.w3.org/csswg/cssom-view/#resizing-viewports

-- 
Simon Pieters
Opera Software
Received on Wednesday, 6 August 2014 14:19:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 6 August 2014 14:19:46 UTC