W3C home > Mailing lists > Public > www-style@w3.org > June 2013

Re: [mediaqueries] User-defined Media Queries?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 10 Jun 2013 08:27:33 -0700
Message-ID: <CAAWBYDDQJHvjJBk=sOjKnrGuebbUGqbRgruiwRqDX086ey_XPA@mail.gmail.com>
To: Stu Cox <stuart.cox@gmail.com>
Cc: Simon Sapin <simon.sapin@exyr.org>, Kenneth Rohde Christiansen <kenneth.christiansen@gmail.com>, www-style list <www-style@w3.org>
Please bottom-post.
<http://wiki.csswg.org/tools/www-style#interleave-replies-and-trim-quoted-text>

On Mon, Jun 10, 2013 at 8:22 AM, Stu Cox <stuart.cox@gmail.com> wrote:
> On 10 June 2013 16:04, Tab Atkins Jr. <jackalmage@gmail.com> 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.

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC