Re: [mediaqueries] User-defined Media Queries?

Please bottom-post.

On Mon, Jun 10, 2013 at 8:22 AM, Stu Cox <> wrote:
> On 10 June 2013 16:04, Tab Atkins Jr. <> wrote:
>> I disagree that there's an important difference.  The point of MQ is
>> to test for things that are outside the document itself; that's what's
>> meant by "the medium", as it's the context in which the document
>> itself is embedded.  I don't think it's important to draw this
>> distinction for authors.
> But values defined by the user with JS are *inside* the document itself.

The script is, sure, because you can't run scripts outside the
document.  But the information used by the script to set the MQ may be
from "outside the document" or from inside.

More importantly, *it doesn't matter*.  You're trying to draw a
distinction that, while it matches the intent of the spec-defined MQs,
is worthless to actually enforce on authors.  There's no benefit to be
gained here from being restrictive.


Received on Monday, 10 June 2013 15:28:24 UTC