tkadlec/Media-Query-test — Issue #2: matchMedia tests
Author: robflaherty
Created: 2012-02-20 20:38:45+00:00
State: open

Hey Tim,

So I was thinking that it'd be great to extend the tests to include window.matchMedia behavior. I forked and duplicated the first test adding a matchMedia query (link below). But now that I look at it, I don't think this is actually testing anything of value. It's only testing whether a client supports matchMedia.

matchMedia is really an API for querying MQ results. I'm not sure it can have any affect on whether a browser decides to download an asset. Yeah?

But I wanted to throw the idea out there and see if you or others had any thoughts.

https://github.com/robflaherty/Media-Query-test/tree/matchmedia